Skip to content

focalpoint94/googledriveapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

GoogleDriveAPI

python program that automatically uploads/downloads files & folders to/from your google drive.

Uploading API

googledriveapi.py

uploads a folder to your google drive

First enable the google drive api by following steps of: https://developers.google.com/drive/api/quickstart/python

command line example

python googledriveapi.py folder_name folder_id

python googledriveapi.py C:\Git\GoogleDriveAPI\test 1iBN6SRF5Vu3Q5oiqTFekT9cnsb8eQ_**

googledriveapi_async.py

uploads a folder to your google drive with asyncio

with asyncio, uploading is much faster

command line example

python googledriveapi.py folder_name folder_id concur_Req enable_retry

python googledriveapi.py C:\Git\GoogleDriveAPI\test 1iBN6SRF5Vu3Q5oiqTFekT9cnsb8eQ_**

Arguments

  1. folder_name: local folder's name
  2. folder_id: folder id of the target folder in your google drive image
  3. concur_req: maximumn allowed number of concurrent connections, default = 100
  4. enable_retry: if set true, retry uploading once failed files, default = True

googledriveapi_async

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages