API wrapper for seedrapi.cc
Project description
Seedr Python Client
Seedr API built with 💛 by Souvik Pratiher
Features
- Intuitive user-friendly 🤓 library
- Contains both asynchronous 🏁 and synchronous 🏴 methods
- Blazing fast performance 🐱🏍
Installation
pip install seedrapi
Usage
# Get the client
from seedrapi.api import SeedrAPI
# For the asynchronous client use the below import statement instead of the above one
# from seedrapi.api_async import SeedrAPI
# Login to account. You can login to your account by email and password or via access token.
# After login an access token will retrieve. Don't care, It's for devs.
seedr = SeedrAPI(email='example@email.com', password='example')
# Get all files and folders in your account
files = seedr.get_drive()
# Add magnet to your account
tor = seedr.add_torrent('magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a')
print(tor) # This may retrieve some info about torrent etc...
# Go to a dir and get details
dir = seedr.get_folder('folder_id')
# Get direct link for a file
file = seedr.get_file('file_id')
# Delete a folder
seedr.delete_folder('folder_id')
# Delete a file
seedr.delete_file('file_id')
# Rename a file
seedr.rename('file_id', 'new_name')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seedrapi-1.0.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file seedrapi-1.0.tar.gz
.
File metadata
- Download URL: seedrapi-1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc88ad61a358f56cae07ae28c6daab9c6572a48538536d60504ad0f8e051081 |
|
MD5 | 7be8cd24cc881fc395828137e1fc6545 |
|
BLAKE2b-256 | ad47e440f2c5f23f655c88d93225556cfbe56b542bd66d271763a9611ce95344 |
File details
Details for the file seedrapi-1.0-py3-none-any.whl
.
File metadata
- Download URL: seedrapi-1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e99c3dce4a93a3a625842f8d1ae2ded0a6559288e453643151de02783df7543 |
|
MD5 | 6fd24d67d66a4ea242e906f1fb5073f7 |
|
BLAKE2b-256 | 724f712ac61ad496bf0ac2bf9357c5469859cae4064be346f4092579034a1b2d |