From d1a255fcbeaa36f615cede720692fea2b9f894db Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 18 Mar 2021 23:34:02 +0800 Subject: [PATCH] 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) --- docs/oauth-installed.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/oauth-installed.md b/docs/oauth-installed.md index 322d678d2c5..4aa68c937ff 100644 --- a/docs/oauth-installed.md +++ b/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) -``` \ No newline at end of file +```