This is a client to interact with the Sensu API
- Includes methods for some entrypoints (clients, events, checks, stashes) of the Sensu API (0.24) IMPORTANT: from 0.6.0 release we are supporting Sensu API 0.24+ .. backward compatibility with previous versions of Sensu API might be broken.
- Includes methods for handle subscriptions info (nodes subscribed to a specific channel)
from pysensu.api import SensuAPI url = 'http://localhost:4567' my_sensu = SensuAPI(url, username=username, password=password) print(my_sensu.get_info())