Asyncio compatible API client for PagerDuty.
Project description
asyncpd
asyncio compatible PagerDuty REST API client with dataclass-typed response models.
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
asyncpd-0.0.2-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file asyncpd-0.0.2.tar.gz.
File metadata
- Download URL: asyncpd-0.0.2.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82587ce2f0d66d97fa0b020154d4b7f2e3b128e4e5e9ee1c32fef47327e9567e
|
|
| MD5 |
baebdf151492fb60a8f48ce3ab19d20d
|
|
| BLAKE2b-256 |
a80c5539c358b2cc0b93e0dca86921851a727adfd2512db7ef706c86c3aa56d1
|
File details
Details for the file asyncpd-0.0.2-py3-none-any.whl.
File metadata
- Download URL: asyncpd-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dd7362e4dce124bd85bf47f617a6d6d49d9f2ae50d6d03184985e335a912b72
|
|
| MD5 |
1b1c64a61ad4a54d5f5b46173190f049
|
|
| BLAKE2b-256 |
0cc9898878302ed642c8ac801a9c372a6ba4cb6301236e967f7fbd2e9cf8a56b
|