Skip to main content

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


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.3.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rd_api_py-0.3.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file rd_api_py-0.3.0.tar.gz.

File metadata

  • Download URL: rd_api_py-0.3.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for rd_api_py-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d02e6e6c215edd64be072f4076bc7f87c6b2e9a25c22f73199a6697a698fe8f6
MD5 b43e26bf8bee1a179758c537fc0c8a27
BLAKE2b-256 223dbc04b5b095eeb1078ce3b162403134a702af6d39e9496f1d4f40c7036baa

See more details on using hashes here.

File details

Details for the file rd_api_py-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: rd_api_py-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for rd_api_py-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b6bf43081ee0362b16b8b2fc0a5a72e853d6c7338b8d80af916814b461899f
MD5 5349b034b18dc650448dfa934f6d0022
BLAKE2b-256 0acf70994a1dd0703dbf8e9eef4bbb8e9875b9e81737fb08e96618b048d8b041

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page