Is there an easy way to access google drive files loging in with some credentials, somewhat like
GET https://www.googleapis.com/drive/v3/fileid&credentials...
Is there an easy way to access google drive files loging in with some credentials, somewhat like
GET https://www.googleapis.com/drive/v3/fileid&credentials...
from googleapiclient.discovery import build
from oauth2client.service_account import ServiceAccountCredentials
credentials = ServiceAccountCredentials.from_json_keyfile_name(
"myCredentials.json",
scopes=[
'https://www.googleapis.com/auth/drive'
])
service = build('drive', 'v3', credentials=credentials)