Skip to content
Permalink
Browse files
fix: correct api version in oauth-installed.md (#1258)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-python-client/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
  • Loading branch information
ryan4yin committed Mar 18, 2021
1 parent ea58ea7 commit d1a255fcbeaa36f615cede720692fea2b9f894db
Showing with 2 additions and 2 deletions.
  1. +2 鈭2 docs/oauth-installed.md
@@ -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
@@ -170,4 +170,4 @@ if __name__ == '__main__':
list_drive_files(service,
orderBy='modifiedByMeTime desc',
pageSize=5)
```
```

0 comments on commit d1a255f

Please sign in to comment.