Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Support soft wrap
flow = flow_from_clientsecrets('client_secret.json',
scope='https://spreadsheets.google.com/feeds',
redirect_uri='http://localhost/auth_return')
storage = Storage('creds.data')
credentials = run_flow(flow, storage)
logging.info("access_token: %s" % credentials.access_token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.