Skip to main content

Python client for oncall API

Project description

Python client for Oncall API


.. code-block:: bash

pip install oncallclient


.. code-block:: python

from oncallclient import OncallClient

client = OncallClient(
print client.get_user('username')
print client.get_team('team_name')
print client.get_oncall_now('team_name', role='primary')
print client.get('http://localhost:5000/api/v0/events?team=example_team&role=primary').json()


.. code-block:: bash

pip install tox


.. code-block:: bash

python sdist
twine upload dist/*

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 oncallclient, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size oncallclient-1.1.0-py2-none-any.whl (3.0 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size oncallclient-1.1.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page