Skip to main content

Rezka API SDK

PyPI Version Python Version

SDK for unofficial Rezka API. Details about API at Telegram.

Installation

You can install rezka_api_sdk using pip:

pip install rezka_api_sdk

Usage

from rezka_api_sdk import RezkaAPI, models

# Init API client
rezka_api = RezkaAPI("<your API key>")

# Get me, returns `models.UserModel`
await rezka_api.get_me()

# Search items, returns `list[SearchResultModel]`
await rezka_api.search("Top Gun: Maverick")

# Get short info about item and available translators, returns `tuple[ShortInfoModel, list[TranslatorInfoModel]]`
await rezka_api.get_info_and_translators("http://hdrezka1tqbbd.org/films/action/47946-top-gan-meverik-2022.html")


# Get direct urls
# NOTE: allowed to pass item's ID or URL
# Acceptable key arguments:
# 
# translator_id: int; required;
# is_film: bool; required;
# translator_additional_arguments: dict;  required; you can get it from `models.TranslatorInfoModel.additional_arguments`


# For films:
await rezka_api.get_direct_urls(
    id = 47946,
    translator_id = 56,
    is_film = True,
    translator_additional_arguments = {}
)


# For series:
await rezka_api.get_direct_urls(
    id = 646, # Breaking bad
    translator_id = 56,
    is_film = False,
    translator_additional_arguments = {},
    season_id = "1",
    episode_id = "1"
)

For user-friendly CLI example see cli_example.py.

Stay updated

For the latest news and updates, follow my Telegram Channel.

Metadata

Release files for rezka-api-sdk 0.1.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 rezka-api-sdk 0.1.0
File Size Uploaded Provenance Actions
rezka_api_sdk-0.1.0.tar.gz 3.5 kB Without provenance Details for rezka_api_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rezka-api-sdk 0.1.0
File Interpreter ABI Platform Actions
rezka_api_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for rezka_api_sdk-0.1.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / rezka_api_sdk-0.1.0.tar.gz

Download URL rezka_api_sdk-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ef2144b6e6853b7fdfdf713de8530b87db644d5a0410bfaf8794abb26a5e1ab3
BLAKE2b-256 checksum
How to use checksums
bb30bf1ee899e51d77ad5ee7377ddf6e5bf8619a6ac3f8430d964160f1c54015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.16 Linux/6.13.5-200.fc41.x86_64

Release files / rezka_api_sdk-0.1.0-py3-none-any.whl

Download URL rezka_api_sdk-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d388c1a57879dafddd565951f8e06d591886ce62ac625a250150655be29178eb
BLAKE2b-256 checksum
How to use checksums
66200ed17b2d1100f3770ad27f3840a3d3f27233e67e169e6fdf73968042c184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.10.16 Linux/6.13.5-200.fc41.x86_64

Security for rezka-api-sdk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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