Simple Objects

class TMDbObj(tmdb: TMDbAPIs, data)[source]

Base Class for TMDb Objects.

class AlternativeName(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Alternative Name.

Variables:
  • name (str) – Alternative Name.

  • type (str) – Type of Alternative Name.

class AlternativeTitle(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Alternative Title.

Variables:
  • title (str) – Alternative Title.

  • type (str) – Type of Alternative Title.

class Certification(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Certification.

Variables:
  • certification (str) – Certification text.

  • meaning (str) – Certification meaning.

  • order (int) – Certification Order.

class Country(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Country.

Variables:
  • iso_3166_1 (str) – ISO 3166-1 Alpha-2 Code of the Country.

  • name (str) – Country name.

  • native_name (str) – Country native name.

class CountryCertifications(tmdb, data, country)[source]

Bases: TMDbObj

Represents a Country’s Certifications.

Variables:
  • certifications (List[Certification]) – List of Certifications.

  • country (str) – Certification country.

class CountryWatchProviders(tmdb, data, country)[source]

Bases: TMDbObj

Represents the Watch Providers for an item in the Country.

Variables:
  • buy (List[WatchProvider]) – Watch Provider’s that can sell this item in the Country.

  • country (Country) – Country object for the ISO 3166-1 Country Code.

  • flatrate (List[WatchProvider]) – Watch Provider’s that have this as part of their service’s flatrate in the Country.

  • iso_3166_1 (str) – ISO 3166-1 Alpha-2 Country Code of the Video.

  • link (int) – Link to the Countries Watch Provider page for the item.

  • rent (List[WatchProvider]) – Watch Provider’s that can rent this item in the Country.

class Department(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Department.

Variables:
  • department (int) – Department name.

  • jobs (List[str]) – List of jobs within the department.

class FindResults(tmdb, external_id, external_source)[source]

Bases: TMDbObj

Represents a Find search result.

Variables:
  • movie_results (List[Movie]) – Movie results found.

  • person_results (List[Person]) – Person results found.

  • tv_episode_results (List[Episode]) – Episode results found.

  • tv_results (List[TVShow]) – TV Show results found.

  • tv_season_results (List[Season]) – Season results found.

class Genre(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Genre.

Variables:
  • id (int) – Genre ID

  • name (str) – Genre name.

class Group(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Group of Episodes.

Variables:
  • episode_group_id (int) – Episode Group ID.

  • episodes (List[Episode]) – List of episodes in the group.

  • locked (bool) – Is Locked.

  • name (str) – Group name.

  • order (str) – Group order in the Episode Group.

class Language(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Language.

Variables:
  • english_name (str) – Language’s english name.

  • iso_639_1 (str) – ISO 639-1 Code of the Language.

  • name (str) – Language name.

class ReleaseDate(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a Movie’s Release Date.

Release dates support different types:

  1. Premiere

  2. Theatrical (limited)

  3. Theatrical

  4. Digital

  5. Physical

  6. TV

Variables:
  • certification (str) – Movie’s Certification.

  • iso_639_1 (str) – ISO 639-1 Language Code of the Release Date.

  • language (Language) – Language object for the ISO 639-1 Language Code.

  • note (str) – Note about the release date.

  • release_date (datetime) – Movie’s release date.

  • type (int) – Type of release.

class Timezones(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents the Timezones of a Country.

Variables:
  • iso_3166_1 (str) – ISO 3166-1 Alpha-2 Country Code of the Timezones.

  • zones (List[str]) – List of timezones.

class Trailer(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Trailer.

Variables:
  • name (str) – Trailer name.

  • size (str) – Trailer size.

  • source (str) – Trailer source.

  • type (str) – Trailer type.

class Translation(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Translation.

Variables:
  • biography (str) – Translated Biography of Person

  • country (Country) – Country object for the ISO 3166-1 Country Code.

  • english_language_name (str) – Language English Name.

  • homepage (str) – Translated Homepage of Collection, Movie, and TVShow

  • iso_3166_1 (str) – ISO 3166-1 Alpha-2 Country Code of the Translation.

  • iso_639_1 (str) – ISO 639-1 Language Code of the Translation.

  • language (Language) – Language object for the ISO 639-1 Language Code.

  • language_name (str) – Language Native Name.

  • name (str) – Translated Name of TVShow, Season, and Episode.

  • overview (str) – Translated Overview of Collection, Movie, TVShow, Season, and Episode.

  • title (str) – Translated Title of Collection and Movie.

class User(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single User.

Variables:
  • id (str) – V4 User ID.

  • gravatar_hash (str) – User’s gravatar hash.

  • name (str)

  • username (str)

class Video(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Video.

Variables:
  • country (Country) – Country object for the ISO 3166-1 Country Code.

  • id (str) – Video ID.

  • iso_3166_1 (str) – ISO 3166-1 Alpha-2 Country Code of the Video.

  • iso_639_1 (str) – ISO 639-1 Language Code of the Video.

  • key (str) – Video Key.

  • language (Language) – Language object for the ISO 639-1 Language Code.

  • name (str) – Video Name.

  • official (bool) – Official Video.

  • published_at (datetime) – Date video was published at.

  • site (str) – Video Site.

  • size (str) – Video Size.

  • type (str) – Video Type.

class WatchProvider(tmdb: TMDbAPIs, data)[source]

Bases: TMDbObj

Represents a single Watch Provider.

Variables:
  • display_priority (int) – Watch Provider display priority.

  • id (int) – Watch Provider ID.

  • logo_path (str) – Watch Provider logo path.

  • logo_url (str) – Watch Provider full logo url.

  • name (str) – WatchProvider Name.