Skip to content

Commit 189ffa9

Browse files
committed
corrected google api client module names
changed apiclient to googleapiclient per googleapis/google-api-python-client#13
1 parent 1bb0ab4 commit 189ffa9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

upload_to_google_drive.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import httplib2
1010
import pprint
1111

12-
from apiclient.discovery import build
13-
from apiclient.http import MediaFileUpload
12+
from googleapiclient.discovery import build
13+
from googleapiclient.http import MediaFileUpload
1414
from oauth2client.client import OAuth2WebServerFlow
1515

1616
from os import listdir, getcwd
@@ -19,8 +19,8 @@
1919
# <codecell>
2020

2121
# Copy your credentials from the console
22-
CLIENT_ID = #insert client id here
23-
CLIENT_SECRET = #insert client secret here
22+
CLIENT_ID = 'CLIENT ID HERE' #insert client id here
23+
CLIENT_SECRET = 'CLIENT SECRET HERE' #insert client secret here
2424

2525
# Check https://developers.google.com/drive/scopes for all available scopes
2626
OAUTH_SCOPE = 'https://www.googleapis.com/auth/drive'

0 commit comments

Comments
 (0)