I work with this simple Google API example:
import httplib2 from apiclient.discovery import build from oauth2client.client import flow_from_clientsecrets from oauth2client.file import Storage from oauth2client.tools import run
And, having seen that I already went through the OAuth stream earlier (in another application other than Python), and have update tokens, etc., I would like to skip the first part of this example and manually create the expected storage file gmail.storage or Create a credential object in another way.
The problem is that I cannot find documentation about the expected format of this storage file or what should be in it, or how to instantiate the credential object in any other way. Sorry I canโt show any work here, but Iโm at a loss. Any point in the right direction would be greatly appreciated.
source share