upload files to gdrive with access token
Project description
gdrive-bot
Upload files to your gdrive with your gdrive bot without using google-api-python-client.
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file gdrive_bot-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: gdrive_bot-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4c8a99637dafa527d8806ee4468263f8184571fc1eeef305f6386df07d1a7d |
|
MD5 | 90f6f2e9920ccaa81f8acbb6e9be7b95 |
|
BLAKE2b-256 | 70a0e92f08bc11e00f25c8ecf1b5e150f132f6de38c4644f6fc8a44669c98994 |