getEpisodes

suspend fun getEpisodes(vararg ids: String, market: Market): List<Episode?>

Get Spotify catalog information for multiple episodes based on their Spotify IDs.

**Invalid episode ids will result in a BadRequestException

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

Api Reference

Return

List of possibly-null Episode objects.

Parameters

ids

The id or uri for the episodes. Maximum 50.

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

Throws

Sources

(source)
Link copied to clipboard