# gdrive-bot
Upload files to your gdrive with your gdrive bot without using google-api-python-client.
[![Publish package](https://github.com/jakbin/gdrive-bot/actions/workflows/publish.yml/badge.svg)](https://github.com/jakbin/gdrive-bot/actions/workflows/publish.yml)
[![PyPI version](https://badge.fury.io/py/gdrive-bot.svg)](https://pypi.org/project/gdrive-bot/)
[![Downloads](https://pepy.tech/badge/gdrive-bot/month)](https://pepy.tech/project/gdrive-bot)
[![Downloads](https://static.pepy.tech/personalized-badge/gdrive-bot?period=total&units=international_system&left_color=green&right_color=blue&left_text=Total%20Downloads)](https://pepy.tech/project/gdrive-bot)
![GitHub Contributors](https://img.shields.io/github/contributors/jakbin/gdrive-bot)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/jakbin/gdrive-bot)
![GitHub last commit](https://img.shields.io/github/last-commit/jakbin/gdrive-bot)
![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)
## Features
- Progress bar
## Installation
```sh
pip3 install -U gdrive-bot
```
## Usage
```sh
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)
```py
from g_bot.main import upload_file
upload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jakbin/g-bot",
"name": "gdrive-bot",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "gdrive,g-bot,gdrive-api,gdrive-api-bot,gdrive-file-upload,gdrive-upload",
"author": "Jak Bin",
"author_email": "jakbin4747@gmail.com",
"download_url": "",
"platform": null,
"description": "# gdrive-bot\n\nUpload files to your gdrive with your gdrive bot without using google-api-python-client.\n\n [![Publish package](https://github.com/jakbin/gdrive-bot/actions/workflows/publish.yml/badge.svg)](https://github.com/jakbin/gdrive-bot/actions/workflows/publish.yml)\n [![PyPI version](https://badge.fury.io/py/gdrive-bot.svg)](https://pypi.org/project/gdrive-bot/)\n [![Downloads](https://pepy.tech/badge/gdrive-bot/month)](https://pepy.tech/project/gdrive-bot)\n [![Downloads](https://static.pepy.tech/personalized-badge/gdrive-bot?period=total&units=international_system&left_color=green&right_color=blue&left_text=Total%20Downloads)](https://pepy.tech/project/gdrive-bot)\n ![GitHub Contributors](https://img.shields.io/github/contributors/jakbin/gdrive-bot)\n ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/jakbin/gdrive-bot)\n ![GitHub last commit](https://img.shields.io/github/last-commit/jakbin/gdrive-bot)\n ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)\n\n\n## Features\n- Progress bar\n\n\n## Installation\n\n```sh\npip3 install -U gdrive-bot\n```\n\n## Usage \n```sh\ng-bot setup # setup your gdrive credentials\ng-bot reset # reset to default your gdrive credentials\ng-bot up {file_name} # upload gdrive channel or group\ng-bot d {url} # download and upload file to your gdrive\n```\n\n# API\n\nThe g-bot client is also usable through an API (for test integration, automation, etc)\n\n### g_bot.main.upload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)\n\n```py\nfrom g_bot.main import upload_file\n\nupload_file(access_token:str, filename:str, filedirectory:str, folder_id: str = None)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "upload files to gdrive with access token",
"version": "1.0.5",
"project_urls": {
"Bug Tracker": "https://github.com/jakbin/g-bot/issues",
"Homepage": "https://github.com/jakbin/g-bot"
},
"split_keywords": [
"gdrive",
"g-bot",
"gdrive-api",
"gdrive-api-bot",
"gdrive-file-upload",
"gdrive-upload"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7810184f2ccaba5fba0757d8c023c9e6f9a6542a5dcb082960527854d02300ee",
"md5": "40c59943087e17e914dbcab1b695fc69",
"sha256": "f471a43cced68bbafd83406bf8e080baf78fab2cbbc3e4e1862fabf72ddf6ab0"
},
"downloads": -1,
"filename": "gdrive_bot-1.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "40c59943087e17e914dbcab1b695fc69",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 6728,
"upload_time": "2023-09-11T14:32:39",
"upload_time_iso_8601": "2023-09-11T14:32:39.239215Z",
"url": "https://files.pythonhosted.org/packages/78/10/184f2ccaba5fba0757d8c023c9e6f9a6542a5dcb082960527854d02300ee/gdrive_bot-1.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-11 14:32:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jakbin",
"github_project": "g-bot",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "gdrive-bot"
}