Python client for Iris API
Project description
Python client for Iris API
Usage
from irisclient import IrisClient
client = IrisClient(
app='SERVICE_FOO',
key='IRIS_API_KEY',
api_host='http://localhost:5000'
)
# create an incident
print client.incident('plan-foo', context={'key-foo': 'abc', 'key-bar': 1})
# send an adhoc notification
print client.notification(role='user', target='alice', priority='urgent', subject='Yo')
Test
pip install tox
tox
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
irisclient-0.0.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
irisclient-0.0.1-py2.7.egg
(4.3 kB
view hashes)