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
  • 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/add/delete/attachments/extensions/user-purpose)
  • Mail folders operations (get-bulk/get/list)
  • SharePoint sites operations (list/get)
  • Drive resources operations (get delta link/list changes/list recent changes/get (by user, by drive))
  • Groups operations (list/get)
  • Teams operations (get)
  • Channels operations (get)
  • Domains operations (list/get)
  • Service Principals operations (list/get)

The client is async, meaning all functions are awaitables.

Odata query is also generally supported, you can build the query and pass it to any supported function as key-word argument

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 the only user-context api that is currently supported is to acquire access token from refresh token.

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-beta-0.0.2.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

msgraph_async_beta-0.0.2-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file msgraph-async-beta-0.0.2.tar.gz.

File metadata

  • Download URL: msgraph-async-beta-0.0.2.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.4.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.13

File hashes

Hashes for msgraph-async-beta-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2970430f478d6224688522191281ee57775d7ca29640b28653d1f0a5706b4d6c
MD5 0823a27d13c8e86afee331669c2080ca
BLAKE2b-256 22a9f16ecd44dfddf75b1e3232212ca483951711c7e41f976343c0651d00407e

See more details on using hashes here.

File details

Details for the file msgraph_async_beta-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: msgraph_async_beta-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.4.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.13

File hashes

Hashes for msgraph_async_beta-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f72bebcc141bc6c85be38fdfe928e549eacc632ce1cf755d8d87543a2530e6c
MD5 cb3c94a0aa1e26feb53bbc72c6f0e9dd
BLAKE2b-256 a247efdd1f3505d7d224b91900420b139fbf100fb2f9769c73aeb431a28b6ccb

See more details on using hashes here.

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