You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
595 B
17 lines
595 B
from gapi.api import API
|
|
APPLICATION_NAME = "Google Calendar API Python"
|
|
class drive_api(API):
|
|
def __init__(
|
|
self,
|
|
app_name,
|
|
client_secret_file,
|
|
credentials_dir,
|
|
scopes = 'https://www.googleapis.com/auth/drive',
|
|
version = 'v3',
|
|
):
|
|
super().__init__('drive',scopes,app_name,client_secret_file,credentials_dir,version)
|
|
def get_files(self):
|
|
pass
|
|
if __name__ == "__main__":
|
|
my_api = drive_api(APPLICATION_NAME,r'..\test\drive\client_secret.json',r'..\test\drive')
|
|
service = my_api.service
|