Glider
Loading...
Searching...
No Matches
src.upload_module.gdrive.GenerateToken Namespace Reference

Functions

 main ()
 

Constants

list SCOPES = ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.photos.readonly"]
 Defines the api scopes.
 

Function Documentation

◆ main()

src.upload_module.gdrive.GenerateToken.main ( )
Shows basic usage of the Drive v3 API.
Prints the names and ids of the first 10 files the user has access to.

Definition at line 15 of file GenerateToken.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Constant Documentation

◆ SCOPES

list src.upload_module.gdrive.GenerateToken.SCOPES = ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.photos.readonly"]

Defines the api scopes.

Definition at line 13 of file GenerateToken.py.