Shows
API #
Implementation to make API calls with.
Parameters:
-
access_flow(AuthorizationCodeFlow | ClientCredentialsFlow) –Access flow to use for api requests.
get_show #
Get Spotify catalog information for a single show.
Parameters:
-
show_id(str) –The ID of the show.
-
market(str, default:MISSING) –Only get content available in that market. Must be an ISO 3166-1 alpha-2 country code.
Returns:
-
Show–The requested show.
get_several_shows #
Get Spotify catalog information for several shows.
Parameters:
-
show_ids(list[str]) –The IDs of the shows.
-
market(str, default:MISSING) –Only get content available in that market. Must be an ISO 3166-1 alpha-2 country code.
Returns:
-
list[SimpleShow]–The requested shows.
get_show_episodes #
get_show_episodes(show_id: str, *, limit: MissingOr[int] = MISSING, offset: MissingOr[int] = MISSING, market: MissingOr[str] = MISSING) -> Paginator[SimpleEpisode]
Get Spotify catalog information about a shows's episodes.
Parameters:
-
show_id(str) –The ID of the show.
-
limit(int, default:20) –The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
-
offset(int, default:0) –The index of the first item to return. Default: 0 (the first item).
-
market(str, default:MISSING) –Only get content available in that market. Must be an ISO 3166-1 alpha-2 country code.
Returns:
-
Paginator[SimpleEpisode]–A paginator who's items are a list of episodes.
get_users_saved_shows #
get_users_saved_shows(*, limit: MissingOr[int] = MISSING, offset: MissingOr[int] = MISSING) -> Paginator[SavedShow]
Get a list of the shows saved in the current user's 'Your Music' library.
Required Authorization Scope
Parameters:
-
limit(int, default:20) –The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
-
offset(int, default:0) –The index of the first item to return. Default: 0 (the first item).
Returns:
remove_users_saved_shows #
Remove one or more shows from the current user's 'Your Music' library.
Required Authorization Scope
Parameters:
-
show_ids(list[str]) –The IDs of the shows. Maximum: 50.
-
market(str, default:MISSING) –Only modify content available in that market. Must be an ISO 3166-1 alpha-2 country code.
check_users_saved_shows #
Check if one or more shows is already saved in the current user's 'Your Music' library.
Required Authorization Scope
Parameters:
Returns:
SimpleShow #
A simplified show.
available_markets #
A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.
description #
description: str
A description of the show. HTML tags are stripped away from this field, use the html_description field in case HTML tags are needed.
html_description #
html_description: str
A description of the show. This field may contain HTML tags.
languages #
A list of the languages used in the show, identified by their ISO 639 code.
Show #
A show.
available_markets #
A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.
description #
description: str
A description of the show. HTML tags are stripped away from this field, use the html_description field in case HTML tags are needed.
html_description #
html_description: str
A description of the show. This field may contain HTML tags.
languages #
A list of the languages used in the show, identified by their ISO 639 code.
SavedShow #
Information about a show saved to a user's 'Your Music' library.