Skip to main content

Asyncio compatible API client for PagerDuty.

Project description

asyncpd

asyncio compatible PagerDuty REST API client with dataclass-typed response models.

ci PyPI version

Usage

Here is an example usage snippet for interacting with the PagerDuty API with this package:

import asyncio

from asyncpd import APIClient


async def main():
    client = APIClient(
        token="my_pagerduty_oauth_token",
    )

    print(await client.abilities.list())
    print(await client.abilities.is_enabled("sso"))


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

Supported APIs

The following list displays what API resources are available in this package.

  • Abilities
  • Addons
  • Analytics
  • Audit
  • Automation Actions
  • Paused Incident Reports
  • Business Services
  • Custom Fields
  • Change Events
  • Escalation Policies
  • Event Orchestrations
  • Extension Schemas
  • Extensions
  • Incidents
  • Incident Workflows
  • Licenses
  • Log Entries
  • Maintenance Windows
  • Notifications
  • On-Calls
  • Priorities
  • Response Plays
  • Rulesets
  • Schedules
  • Service Dependencies
  • Services
  • Webhooks
  • Standards
  • Status Dashboards
  • Tags
  • Teams
  • Templates
  • Users
  • Vendors
  • EventsV2

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

asyncpd-0.0.2.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

asyncpd-0.0.2-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page