A python library to interface with Seedr
Project description
SeedrClient
SeedrClient is a simple python library that interfaces with Seedr. However, unlike the offical rest API, to use SeedrClient you do not need a premium account and even free users can access the API.
It is based on @theabbie and @hemantapkh work.
Installation
pip install SeedrClient
Example code
from seedr_client import SeedrHandler
seedr = SeedrHandler(email="youremail@example.com", password="your_password")
print(seedr.get_drive())
# Should return a similar result
# {'space': {'total': '5.0 GB', 'used': '1.1 GB'}, 'parent_folder_id': 123456789,
# 'torrents': [], 'folders': [{'folder_id': 123456799, 'folder_name':
# 'Ubuntu Minimal ISO 22.04 Custom', 'size': '1.1 GB'}], 'files': []}
Documentation
You can find the documentation for SeedrClient over here
TODO
- Reuse access token
- Refresh access token when it expires
- Add error notification via Telegram
- Build a command line interface
- Build a GUI app to monitor all SeedrClient activities
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SeedrClient-0.1.6.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for SeedrClient-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61c09a3a022f9d729a9f3901e90f6a3c617bf269805063d115670a9220fca8f9 |
|
MD5 | 1c78eb3a7fb91f75668523ea8b3fa23c |
|
BLAKE2b-256 | 0569a43e3c06a2b299c3ef5520de760a4b6e486cdafb64e8a261a5415890cd12 |