Skip to main content

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
  • Users basic operations (list/get)
  • Subscriptions operations (create/renew/delete, also for chat resources)
  • Mails operations (list/get)
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msgraph-async-0.1.1.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

msgraph_async-0.1.1-py3-none-any.whl (15.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