ShowApi

open class ShowApi(api: GenericSpotifyApi) : SpotifyEndpoint

Endpoints for retrieving information about one or more shows and their episodes from the Spotify catalog.

Api Reference

Constructors

ShowApi
Link copied to clipboard
common
fun ShowApi(api: GenericSpotifyApi)

Functions

getShow
Link copied to clipboard
common
suspend fun getShow(id: String, market: Market): Show?
Get Spotify catalog information for a single show identified by its unique Spotify ID.
getShowEpisodes
Link copied to clipboard
common
suspend fun getShowEpisodes(id: String, limit: Int? = null, offset: Int? = null, market: Market): PagingObject<SimpleEpisode>
Get Spotify catalog information about an show’s episodes.
getShowEpisodesRestAction
Link copied to clipboard
common
fun getShowEpisodesRestAction(id: String, limit: Int? = null, offset: Int? = null, market: Market): SpotifyRestAction<PagingObject<SimpleEpisode>>
Get Spotify catalog information about an show’s episodes.
getShowRestAction
Link copied to clipboard
common
fun getShowRestAction(id: String, market: Market): SpotifyRestAction<Show?>
Get Spotify catalog information for a single show identified by its unique Spotify ID.
getShows
Link copied to clipboard
common
suspend fun getShows(vararg ids: String, market: Market): List<SimpleShow?>
Get Spotify catalog information for multiple shows based on their Spotify IDs.
getShowsRestAction
Link copied to clipboard
common
fun getShowsRestAction(vararg ids: String, market: Market): SpotifyRestAction<List<SimpleShow?>>
Get Spotify catalog information for multiple shows based on their Spotify IDs.

Properties

api
Link copied to clipboard
common
val api: GenericSpotifyApi
cache
Link copied to clipboard
common
val cache: SpotifyCache

Inheritors

ClientShowApi
Link copied to clipboard

Sources

common source
Link copied to clipboard