singlet.io.googleapi package¶
Submodules¶
singlet.io.googleapi.googleapi module¶
-
class
singlet.io.googleapi.googleapi.GoogleAPI(spreadsheetId, spreadsheetname, client_id_filename, client_secret_filename)[source]¶ Bases:
object-
MAX_COLUMN= 'AZ'¶
-
application_name= 'Google Sheet API to singlet'¶
-
get_credentials()[source]¶ Gets valid user credentials from storage.
If nothing has been stored, or if the stored credentials are invalid, the OAuth2 flow is completed to obtain the new credentials.
Returns: Credentials, the obtained credential.
-
scopes= 'https://www.googleapis.com/auth/spreadsheets.readonly'¶
-