Skip to content

Commit d8f63c0

Browse files
committed
RFixes in README.md
1 parent 7e74ad4 commit d8f63c0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# microsoft-python
1+
# microsoftgraph-python
22
Microsoft graph API wrapper for Microsoft Graph written in Python.
33

44
## Before start
@@ -8,13 +8,14 @@ authentication flow that you will use to get access tokens will depend on the ki
88
whether you want to use OpenID Connect to sign the user in to your app. One common flow used by native and mobile
99
apps and also by some Web apps is the OAuth 2.0 authorization code grant flow.
1010

11-
See https://docs.microsoft.com/en-us/graph/auth-v2-user
11+
See [Get access on behalf of a user](https://docs.microsoft.com/en-us/graph/auth-v2-user)
1212

1313
## Breaking changes if you're upgrading prior 1.0.0
14-
- Added API structure to library for e.g. `client.get_me()` => `client.users.get_me()`.
14+
- Added structure to library to match API documentation for e.g. `client.get_me()` => `client.users.get_me()`.
1515
- Renamed several methods to match API documentation for e.g. `client.get_me_events()` => `client.calendar.list_events()`.
1616
- Result from calling a method is not longer a dictionary but a Response object. To access the dict response as before then call `.data` property for e.g `r = client.users.get_me()` then `r.data`.
1717
- Previous API calls made through beta endpoints are now pointing to v1.0 by default. This can be changed to beta if needed with the parameter `api_version` in the client instantiation.
18+
- Removed Office 365 endpoints as they were merged with the Microsoft Graph API. See [Office 365 APIs](https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/).
1819
## New in 1.0.0
1920
- You can access to [Requests library's Response Object](https://docs.python-requests.org/en/latest/user/advanced/#request-and-response-objects) for e.g. `r = client.users.get_me()` then `r.original` or the response handled by the library `r.data`.
2021
- New Response properties `r.status_code` and `r.throttling`.
@@ -26,7 +27,7 @@ See https://docs.microsoft.com/en-us/graph/auth-v2-user
2627
pip install microsoftgraph-python
2728
```
2829
## Usage
29-
### Instantiation
30+
### Client instantiation
3031
```
3132
from microsoftgraph.client import Client
3233
client = Client('CLIENT_ID', 'CLIENT_SECRET', account_type='common') # by default common, thus account_type is optional parameter.

0 commit comments

Comments
 (0)