Client for using Microsoft Graph API asynchronously
Project description
This is a client for Microsoft Graph API
The client currently supports the following Graph API:
- Acquiring access token
- Generating authorization url for admin consent
- Users basic operations (list/get)
- Subscriptions operations (create/renew/delete, also for chat resources)
- Mails operations (list/get/send)
- SharePoint sites operations (list/get)
- Drive resources operations (get delta link/list changes)
- Groups operations (list/get)
- Teams operations (get)
- Channels operations (get)
The client is async, meaning all functions are awaitable.
The client supports automatic token refresh, this is done by calling manage_token
passing it app-id, app-secret and tenant-id.
If token is managed, then there's no need to pass the token to any of the client call.
However, if the token is not managed, you will need to provide it with every call as part of kwargs (e.g. list_users(token="your access token here")
).
This client is intended to serve tenant-admin so there's currently no user-context api.
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
Built Distribution
Hashes for msgraph_async-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc251c8bbcc02a376e16e40da1b4ea39c22e4ca9317d773f416cdca6b3ce8062 |
|
MD5 | a1ef79a6d658bf991986858596385a45 |
|
BLAKE2b-256 | 377a7f2f6d599096924590ec0bb99d765980c24e5316a78c0738021cd1aafef5 |