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-1.1.0.tar.gz
(3.5 kB
view details)
File details
Details for the file irisclient-1.1.0.tar.gz
.
File metadata
- Download URL: irisclient-1.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d81d491a97f0156afb57143fb8a7cd08f7fde2505fcf4d636d60ecaa03331f23 |
|
MD5 | a8f7ef728a6fe0c209ef20639c75c61d |
|
BLAKE2b-256 | 7ca6dd504f74a871b589196d85a8474321be7083510730039cbba07a955c125c |