Shows Apis
class ShowsApis(client: HttpClient = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider = TokenHolder) : BaseSpotifyApi
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 = SpotifyHttpClientFactory.create(), tokenProvider: TokenProvider = TokenHolder)
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
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.