ShowsApis

class ShowsApis(client: HttpClient = HttpClient(CIO) { install(ContentNegotiation) { json() } })

Show domain API for Spotify Web API.

Covers podcast show metadata, show episodes, and saved shows for the current user.

Constructors

Link copied to clipboard
constructor(client: HttpClient = HttpClient(CIO) { install(ContentNegotiation) { json() } })

Functions

Link copied to clipboard

Checks whether shows are saved in the current user's Your Library.

Link copied to clipboard
suspend fun getSeveralShows(ids: List<String>, market: CountryCode? = null): SpotifyApiResponse<Shows>

Gets multiple Spotify shows by their IDs.

Link copied to clipboard
suspend fun getShow(id: String, market: CountryCode? = null): SpotifyApiResponse<Show>

Gets a Spotify show by show ID.

Link copied to clipboard
suspend fun getShowEpisodes(id: String, market: CountryCode? = null, pagingOptions: PagingOptions = PagingOptions()): SpotifyApiResponse<ShowEpisodes>

Gets episodes for a Spotify show.

Link copied to clipboard
suspend fun getUsersSavedShows(pagingOptions: PagingOptions = PagingOptions()): SpotifyApiResponse<UsersSavedShows>

Gets the current user's saved shows from Your Library.

Link copied to clipboard
suspend fun removeUsersSavedShows(ids: Ids, market: CountryCode? = null): SpotifyApiResponse<Boolean>

Removes shows from the current user's Your Library.

Link copied to clipboard

Saves shows to the current user's Your Library.