SerieTvItaly_bot API
Project description
Serie TV info
Works with only Python 3 and give all infos about serie TV info.
Infos are taken from @SerieTvItaly_bot Telegram Bot and availability depend on bot's users.
For example if noone open Stranger Things to watch the 3x01 in streaming, bot will not compile all infos and our API will not be sensible to serie TV and/or episodes.
Another example, if Stranger Things was opened but not the first episode of the third season, API give serie TV info but not about the third season.
In general, if bot's user open an episode automaticalli API became sensible to that info.
How it works
There is only one dependecies: requests
This module give you the JSON info complete (except cast, crew and guest star) about serie, episode and season.
You can have visual simple infos if you execute from the command-line, you can have all infos if execute from python code.
Cast, Crew, Guest Star, Season info and Episode info will not be shown with 'beauty print' due to info richness, so only essential info will be shown and have a beautiful appearance.
How to install
This code can be installed with pip, if you have pip installed execute the pip command to install new package pip install info_serie_tv
Example of usage
You have 2 ways to use my package from command-line, simply write info_serie_tv
and creation start!
You can also use with your python project, here an example:
import info_serie_tv
my_username = 'example'
my_password = 'example_pw'
# For first create our API Object (very simple)
api_account = Bot_API('terminal_api', 'terminal_api') # credential are irrilevant
# Now get info from SerieTvItalt_bot
bot_accout = SerieTvItaly_bot(api_account)
# This API command will retrive all infos
bot_accout.terminal_api()
# if everything is okay, JSON info is in attribute 'serie_json'
Complete_Info = bot_accout.serie_json
# If you wanna see the beauty print
bot_accout.beauty_print()
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
Built Distribution
File details
Details for the file info_serie_tv-1.0.0.1.tar.gz
.
File metadata
- Download URL: info_serie_tv-1.0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2e5cfa00497a5e2df354426645db4a8a07185cba27a2f85c8c9f9097f02fbf |
|
MD5 | 57327ca9fa8df97baece4b6920252c32 |
|
BLAKE2b-256 | 4783b328ebc469048ce209e2214dbd30a8c700c4d6b8df12eeeda37551fab389 |
File details
Details for the file info_serie_tv-1.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: info_serie_tv-1.0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8c1e6fa47bd58210509d91699cab133208c33a4dd44723c23f20e6128c9511 |
|
MD5 | 5c95382f70cb5e199961fbffd6202fa6 |
|
BLAKE2b-256 | 042902712fb7bb89c4ff27a7febf1a942c37e41281b8aaaf7c895fd6426999dd |