• Stars
    star
    33
  • Rank 782,008 (Top 16 %)
  • Language
    Python
  • License
    Other
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tool to check PAAS/SAAS status pages (API+CLI)

statuscheck: Tool to check PAAS/SAAS status pages

Tests image image image Coverage Status

Usage

Install the latest release:

$ pip install statuscheck

Then just use it in your shell:

$ statuscheck github
Current GitHub status: All Systems Operational

$ statuscheck slack
Current Slack status: Active incident
Registered events:
- [active] We are investigating an issue with notification settings
- [active] We're looking into an issue with certain API calls

More: https://status.slack.com/

There is also an API available:

>>> from statuscheck.utils import get_statuscheck_api

>>> api = get_statuscheck_api('slack')
>>> summary = api.get_summary()
>>> summary.status
Status(code='active', name='Minor incident', description='Minor incident', is_ok=False)
>>> summary.incidents
[Incident(id=879, name="We're looking into an issue with certain API calls", status='active', components=[Component(name='Apps/Integrations/APIs', status='', id='')])]
>>> summary.as_dict()
{'status': {'code': 'active', 'name': 'Minor incident', 'description': 'Minor incident', 'is_ok': False}, 'components': [{'name': 'Apps/Integrations/APIs', 'status': 'Partial outage', 'id': ''}], 'incidents': [{'id': 879, 'name': "We're looking into an issue with certain API calls", 'status': 'active', 'components': [{'name': 'Apps/Integrations/APIs', 'status': 'Partial outage', 'id': ''}]}]}

Currently, all services that we support are defined here.