You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Microsoft Graph Core Python Client Library (preview).
4
4
5
5
The Microsoft Graph Core Python client library is a lightweight wrapper around the Microsoft Graph API. It provides functionality to create clients with desired configuration and middleware.
6
6
7
+
**Disclaimer**: Please, be aware that preview versions of `msgraph-core` package are for testing purpose only. Do not use them in a production environment.
8
+
7
9
## Prerequisites
8
10
9
11
Python 3.5+ (this library doesn't support older versions of Python)
@@ -15,13 +17,17 @@ The Microsoft Graph Core Python client library is a lightweight wrapper around t
15
17
To call Microsoft Graph, your app must acquire an access token from the Microsoft identity platform. Learn more about this -
16
18
17
19
-[Authentication and authorization basics for Microsoft Graph](https://docs.microsoft.com/en-us/graph/auth/auth-concepts)
18
-
-[Register your app with the Microsoft identity platform](https://docs.microsoft.com/en-us/graph/auth/auth-concepts)
20
+
-[Register your app with the Microsoft identity platform](https://docs.microsoft.com/en-us/graph/auth-register-app-v2)
19
21
20
22
21
23
### 2. Install the required packages
22
24
23
-
`pip install msgraph-core`
24
-
`pip install azure-identity`
25
+
msgraph-core is available on PyPI.
26
+
27
+
```cmd
28
+
python -m pip install msgraph-core
29
+
python -m pip install azure-identity
30
+
```
25
31
26
32
### 3. Import modules
27
33
@@ -53,7 +59,7 @@ result = client.get('/me')
53
59
print(result.json())
54
60
```
55
61
56
-
For more information on how to use the package, refer to the [samples](https://github.com/microsoftgraph/msgraph-sdk-python-core/tree/dev/samples)
62
+
For more information on how to use the package, refer to the [samples](https://github.com/microsoftgraph/msgraph-sdk-python-core/tree/dev/samples).
57
63
58
64
59
65
## Telemetry Metadata
@@ -66,7 +72,7 @@ View or log issues on the [Issues](https://github.com/microsoftgraph/msgraph-sdk
66
72
67
73
## Contributing
68
74
69
-
Please see the [contributing guidelines](CONTRIBUTING.rst)
75
+
Please see the [contributing guidelines](CONTRIBUTING.rst).
0 commit comments