gdrive-bot

upload files to gdrive with access token


Keywords
gdrive, g-bot, gdrive-api, gdrive-api-bot, gdrive-file-upload, gdrive-upload, google-drive, google-drive-api, google-drive-api-python, google-drive-api-v3, google-drive-downloader, google-drive-uploader
License
MIT
Install
pip install gdrive-bot==1.0.6

Documentation

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)