Skip to content

Latest commit

 

History

History
executable file
·
43 lines (30 loc) · 1.65 KB

README.md

File metadata and controls

executable file
·
43 lines (30 loc) · 1.65 KB

gdrive-bot

Upload files to your gdrive with gdrive-bot without using google-api-python-client.

Publish package PyPI version Downloads Downloads GitHub Contributors GitHub commit activity GitHub last commit Python 3.6

Features

  • Progress bar

Installation

pip3 install -U gdrive-bot

Usage

g-bot setup               # setup your gdrive credentials
g-bot reset               # reset to default your gdrive credentials
g-bot up {file_name}      # upload gdrive channel or group
g-bot d {url}             # download and upload file to your gdrive

API

The g-bot client is also usable through an API (for test integration, automation, etc)

g_bot.main.upload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)

from g_bot.main import upload_file

upload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)