-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
Description
Using the example from here to get Analytics data in to our App Engine app.
That's the code:
from libs.oauth2client.contrib.appengine import AppAssertionCredentials
from apiclient.discovery import build
credentials = AppAssertionCredentials('https://www.googleapis.com/auth/analytics.readonly')
service = build('analytics', 'v3', credentials=credentials)
Give me this error:
File "/base/data/home/apps/s~our-amazin-app/1-10-analytics.391092914739875677/web/pages/main.py", line 25, in <module>
service = build('analytics', 'v3', credentials=credentials)
File "libs/oauth2client/util.py", line 137, in positional_wrapper
return wrapped(*args, **kwargs)
TypeError: build() got an unexpected keyword argument 'credentials'
Very sad.
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.