1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
tvdbAPI
This is an API library for use when connecting to The TVDB.
How to Use
Import Package
from tvdbAPI import TVDB
Use the Module
t = TVDB()
Get Basic Info About a Given Show
"""Gets basic info about the show with given 'name'.
Arguments:
name {String} -- The name of the show you are searching for.
Raises:
InvalidInput: Raises if a non string is entered for name.
ShowNotFound: Raises if no show was found for the given name/alias.
Returns:
dict -- Returns a dictionary containg basic data about the show.
"""
t.getShow("Mythbusters")
Get a List of all Episodes of a Given Show
"""Gets a list of all the episodes for a given show.
Arguments:
name {String} -- The name of the show being searched for.
Keyword Arguments:
accuracy {float} -- If no show with title found, how accurate should a match to the alias be. (default: {0.8})
Raises:
InvalidInput: Raises if a non string is inputed for name.
InvalidShowID: Raises if a show was not found.
Returns:
list -- Returns a list of all the episodes for a given show.
"""
t.getEpisodes("Mythbusters", 0.8)
Get a Specific Episode's Name
"""Gets an episode by its name, based on the show name, season number, and episode number, and cleaned of any special characters so it can be used to name files without error.
Arguments:
name {String} -- The name of the show being searched for.
seasonNum {integer} -- The season number which the episode is in.
epNum {integer} -- The episode number in the season.
Keyword Arguments:
order {String} -- Specifies the episode number ordering to parse ("DVD", "Aired")
accuracy {float} -- If no show with title found, how accurate should a match to the alias be. (default: {0.8})
id -- Optional input of show id when searching for episode names.
Raises:
InvalidInput: Raises if a non string is inputed for name.
InvalidShowID: Raises if a show was not found.
Returns:
String -- Returns the name of the episode searched for, cleaned of all special characters.
"""
t.getEpisodeName("Scrubs", 1, 1, "Aired", 0.8)
Release files for tvdbAPI 0.2.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tvdbAPI-0.2.11.tar.gz | 4.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tvdbapi-0.2.11-py3-none-any.whl | Python 3 | none | any | Details |
| tvdbAPI-0.2.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / tvdbAPI-0.2.11.tar.gz
| Download URL | tvdbAPI-0.2.11.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efd31af9b95283c845668c62ae1e94921f81361a59372c5a0d843f6cc264d384
|
|
BLAKE2b-256 checksum How to use checksums |
b7561ea12737f899bd33e0731cca632c42123d5be48853859ad309b6ed1f71a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tvdbapi-0.2.11-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | tvdbapi-0.2.11-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e626cb5cc1d166a20e3f9711499575a8dddc4b7afa07ea3364a95655acecb1d3
|
|
BLAKE2b-256 checksum How to use checksums |
e27a9eab6d16ee429dd2e75b4ab46ee2c4599a31786287c569c464fde5142fc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / tvdbAPI-0.2.11-py3-none-any.whl
| Download URL | tvdbAPI-0.2.11-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e8649275bb6eac059382eeb236e3a253f63404f054de0323239456598e56901
|
|
BLAKE2b-256 checksum How to use checksums |
11f502adc4635d45563b9c9736fa6c0cd3814994fe508c6e0782d576a0e2b3e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|