getShowEpisodes

suspend fun getShowEpisodes(id: String, limit: Int? = null, offset: Int? = null, market: Market): PagingObject<SimpleEpisode>(source)

Get Spotify catalog information about an show’s episodes.

Reading the user’s resume points on episode objects requires the SpotifyScope.UserReadPlaybackPosition scope

Api Reference

Parameters

id

The Spotify ID for the show.

market

If a country code is specified, only shows and episodes that are available in that market will be returned. If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter. Note: If neither market or user country are provided, the content is considered unavailable for the client. Users can view the country that is associated with their account in the account settings. Required for SpotifyAppApi, but you may use Market.FROM_TOKEN to get the user market

limit

The number of objects to return. Default: 20 (or api limit). Minimum: 1. Maximum: 50.

offset

The index of the first item to return. Default: 0. Use with limit to get the next set of items

Throws

if the playlist cannot be found