Real Debrid API Library for Python
Project description
rd_api_py
Real Debrid API Library for Python
Installation
Install the package
python -m pip install rd_api_py
Set environment variables in .env in rd_refresh or your script
RD_APITOKEN="your_token_here"
SLEEP=100 # Delay (ms) between requests - optional, default recommended
LONG_SLEEP=5000 # Long delay (ms) every 500 requests - optional, default recommended
Usage
All operations are supported - see examples directory
from rdapi import RD
RD = RD()
print(RD.system.time().content)
print(RD.user.get().json())
print(RD.torrents.get(limit=10, page=1).json())
import os
filepath = '/path/to/bbb.torrent'
print(RD.torrents.add_file(filepath=filepath).json())
# etc...
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
rd_api_py-0.4.0.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rd_api_py-0.4.0.tar.gz.
File metadata
- Download URL: rd_api_py-0.4.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf1bb6ddd3a859f3e6d21f3f05675791f13848cadc08ca5440b2ae1cb7eeeaea
|
|
| MD5 |
e7f89d67bbaf4ff6f48842d1e2cbbaac
|
|
| BLAKE2b-256 |
36acbf269315859a4932cc58009da9f9ab70eb9d918fa90efbe2a3b3800ad302
|
File details
Details for the file rd_api_py-0.4.0-py3-none-any.whl.
File metadata
- Download URL: rd_api_py-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30596ad7f9d4eb88b0a49a33cc6f2899f9a295f0ca285ac9491fbaf20b4c334b
|
|
| MD5 |
e993477644b9e5973f40f17e6046b912
|
|
| BLAKE2b-256 |
6f004afdb2cc23607f125df3f3bb38df385fb88b0bc548bf2fe62bc9a42ba3bd
|