Skip to content

fix: correct api version in oauth-installed.md #1258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/oauth-installed.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Google's OAuth 2.0 server authenticates the user and obtains consent from the us

Use the authorized `Http` object to call Google APIs by completing the following steps:

1. Build a service object for the API that you want to call. You build a a service object by calling the `build` function with the name and version of the API and the authorized Http object. For example, to call version 2 of the Drive API:
1. Build a service object for the API that you want to call. You build a a service object by calling the `build` function with the name and version of the API and the authorized Http object. For example, to call version 3 of the Drive API:

```python
from googleapiclient.discovery import build
Expand Down Expand Up @@ -170,4 +170,4 @@ if __name__ == '__main__':
list_drive_files(service,
orderBy='modifiedByMeTime desc',
pageSize=5)
```
```