Image Objects

class TMDbImage(tmdb, data, image_type)[source]

Bases: TMDbObj

Represents a single Image.

Variables:
  • aspect_ratio (float) – Image Aspect Ratio.

  • file_path (str) – Image Path.

  • file_type (str) – File type of the Image.

  • height (int) – Image Height.

  • id (str) – Image ID.

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

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

  • url (str) – Image Full URL.

  • width (int) – Image Width.

  • vote_average (float) – Image Vote Average.

  • vote_count (int) – Image Vote Count.

class Backdrop(tmdb, data)[source]

Bases: TMDbImage

Represents a single Backdrop Image.

Bases: TMDbImage

Represents a single Logo Image.

class Poster(tmdb, data)[source]

Bases: TMDbImage

Represents a single Poster Image.

class Profile(tmdb, data)[source]

Bases: TMDbImage

Represents a single Profile Image.

class Still(tmdb, data)[source]

Bases: TMDbImage

Represents a single Still Image.

class Tagged(tmdb, data)[source]

Bases: TMDbImage

Represents a single Tagged Image.

Variables:
  • image_type (str) – Image Type.

  • media (Union[Movie, TVShow]) – Media object associated with the Image.

  • media_type (str) – Media Type for Image.