spotifywebapipython.models.showsimplified

@export
class ShowSimplified:

Spotify Web API SimplifiedShow object.

ShowSimplified(root: dict = None)

Initializes a new instance of the class.

Arguments:
  • root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
AvailableMarkets: list[str]

A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.

The copyright statements of the show.

Description: str

A description of the show.
HTML tags are stripped away from this field, use HtmlDescription property in case HTML tags are needed.

Explicit: bool

Whether or not the show has explicit lyrics (true = yes it does; false = no it does not OR unknown).

Known external URLs for the show.

Href: str

A link to the Web API endpoint providing full details of the show.

HtmlDescription: str

A description of the show.
This field may contain HTML tags.

Id: str

The Spotify ID for the show.

The cover art for the show in various sizes, widest first.

ImageUrl: str

Gets the first image url in the Images list, if images are defined; otherwise, null.

IsExternallyHosted: bool

True if all of the shows episodes are hosted outside of Spotify's CDN.
This field might be null in some cases.

Languages: list[str]

A list of the languages used in the show, identified by their ISO 639-1 code.

Example: [fr,en]

MediaType: str

The media type of the show.

Name: str

The name of the show.

Publisher: str

The publisher of the show.

TotalEpisodes: int

The total number of episodes in the show.

Type: str

The object type: show.

Uri: str

The Spotify URI for the show.

def ToDictionary(self) -> dict:

Returns a dictionary representation of the class.

def ToString(self, includeTitle: bool = True) -> str:

Returns a displayable string representation of the class.

Arguments:
  • includeTitle (str): True to include the class name title prefix.