Skip to main content

Python client for Iris API

Project description

https://badge.fury.io/py/irisclient.svg https://travis-ci.org/houqp/iris-python-client.svg?branch=master

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.

Files for irisclient, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size irisclient-1.1.0.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page