Onofficial python client to ktuvit.me (screwzira) API
Project description
Unofficial python client to ktuvit.me API
Usage is pretty straight forward:
import ktuvit
api = ktuvit.KtuvitApi()
api.find_film('ImdbID', 'tt5463162') # Deadpool 2
"""
Should return something like this:
{
'ErrorMessage': None,
'IsSuccess': True,
'Results': [{'Identifier': 'B01A861744343E9201D4ED1C73378559','SubtitleName': 'Deadpool.2.2018.NEW.720p.HD-TC.X264-CPG'}
}
"""
subtitle = api.get_subtitle('B01A861744343E9201D4ED1C73378559') # get the specified subtitles
# Save the subtitles to a file
with open("out.srt", "wb") as out:
out.write(subtitle)
see documentation for more information.
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
ktuvit-api-0.1.0.tar.gz
(2.7 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 ktuvit-api-0.1.0.tar.gz.
File metadata
- Download URL: ktuvit-api-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3e4c219e40e3b0e4327a6730b87341ed59114dc2ea4d408ad87277475a2c6c1
|
|
| MD5 |
07dca1679cc010c00a61f9ce5d9e2db3
|
|
| BLAKE2b-256 |
0c39830f83330a5f3ff42f40f541185e7bfe4977bcf8840bf5a6994e47adb29b
|
File details
Details for the file ktuvit_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ktuvit_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dade608453756aeb21da6a6e64a2746137784357d0a33f97f280688a5598b8c1
|
|
| MD5 |
db58879e85c01c77ec13d0c2050cf6fc
|
|
| BLAKE2b-256 |
72971886b1e6c2226dc3b3e7ff5eabfe1084d359fd0ea5a39c7b87723963b5e1
|