Skip to content

Commit 15ffa1b

Browse files
author
Eric Koleda
authored
Merge pull request googleworkspace#69 from gsuitedevs/quickstart
Fixes to quickstarts
2 parents 192ee1b + e53150c commit 15ffa1b

File tree

29 files changed

+29
-29
lines changed

29 files changed

+29
-29
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ client_secret.json
33
application_credentials.json
44
storage.json
55
credentials.json
6-
token.json
6+
token.pickle
77

88
.DS_Store
99

admin_sdk/directory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Directory API.
88
## Install
99

1010
```
11-
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib pickle
11+
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
1212
```
1313

1414
## Run

admin_sdk/directory/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from google.auth.transport.requests import Request
2222

2323
# If modifying these scopes, delete the file token.pickle.
24-
SCOPES = 'https://www.googleapis.com/auth/admin.directory.user'
24+
SCOPES = ['https://www.googleapis.com/auth/admin.directory.user']
2525

2626
def main():
2727
"""Shows basic usage of the Admin SDK Directory API.

admin_sdk/reports/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ that makes requests to the Google Admin SDK Reports API.
88
## Install
99

1010
```
11-
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib pickle
11+
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
1212
```
1313

1414
## Run

admin_sdk/reports/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from google.auth.transport.requests import Request
2222

2323
# If modifying these scopes, delete the file token.pickle.
24-
SCOPES = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
24+
SCOPES = ['https://www.googleapis.com/auth/admin.reports.audit.readonly']
2525

2626
def main():
2727
"""Shows basic usage of the Admin SDK Reports API.

admin_sdk/reseller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ that makes requests to the Google Admin SDK Reseller API.
88
## Install
99

1010
```
11-
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib pickle
11+
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
1212
```
1313

1414
## Run

admin_sdk/reseller/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from google.auth.transport.requests import Request
2222

2323
# If modifying these scopes, delete the file token.pickle.
24-
SCOPES = 'https://www.googleapis.com/auth/apps.order'
24+
SCOPES = ['https://www.googleapis.com/auth/apps.order']
2525

2626
def main():
2727
"""Calls the Admin SDK Reseller API. Prints the customer ID, SKU ID,

apps_script/quickstart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ that makes requests to the Google Apps Script API.
88
## Install
99

1010
```
11-
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib pickle
11+
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
1212
```
1313

1414
## Run

apps_script/quickstart/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from google.auth.transport.requests import Request
2828

2929
# If modifying these scopes, delete the file token.pickle.
30-
SCOPES = 'https://www.googleapis.com/auth/script.projects'
30+
SCOPES = ['https://www.googleapis.com/auth/script.projects']
3131

3232
SAMPLE_CODE = '''
3333
function helloWorld() {

calendar/quickstart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ makes requests to the Google Calendar API.
88
## Install
99

1010
```
11-
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib pickle
11+
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
1212
```
1313

1414
## Run

0 commit comments

Comments
 (0)