Created
August 12, 2018 23:17
-
-
Save omarsar/d43018d685217beca7141e5c9803e6fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def google_authenticate(): | |
# Authenticate first so the Google Drive library can detect your credentials. | |
from google.colab import auth | |
auth.authenticate_user() | |
from googleapiclient.discovery import build | |
drive_service = build('drive', 'v3') | |
return drive_service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment