Skip to main content

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...

Release files for rd-api-py 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rd-api-py 0.4.0
File Size Uploaded
rd_api_py-0.4.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rd-api-py 0.4.0
File Interpreter ABI Platform
rd_api_py-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / rd_api_py-0.4.0.tar.gz

Download URL rd_api_py-0.4.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cf1bb6ddd3a859f3e6d21f3f05675791f13848cadc08ca5440b2ae1cb7eeeaea
BLAKE2b-256 checksum
How to use checksums
36acbf269315859a4932cc58009da9f9ab70eb9d918fa90efbe2a3b3800ad302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / rd_api_py-0.4.0-py3-none-any.whl

Download URL rd_api_py-0.4.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30596ad7f9d4eb88b0a49a33cc6f2899f9a295f0ca285ac9491fbaf20b4c334b
BLAKE2b-256 checksum
How to use checksums
6f004afdb2cc23607f125df3f3bb38df385fb88b0bc548bf2fe62bc9a42ba3bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page