Get Show Episodes
shows.list_episodes(strid, ShowListEpisodesParams**kwargs) -> SyncCursorURLPage[SimplifiedEpisodeObject]
GET/shows/{id}/episodes
Get Spotify catalog information about an show’s episodes. Optional parameters can be used to limit the number of episodes returned.
Parameters
Returns
Get Show Episodes
import os
from spotted import Spotted
client = Spotted(
access_token=os.environ.get("SPOTIFY_ACCESS_TOKEN"), # This is the default and can be omitted
)
page = client.shows.list_episodes(
id="38bS44xjbVVZ3No3ByF1dJ",
)
page = page.items[0]
print(page.id){
"href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20\n",
"limit": 20,
"next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"offset": 0,
"previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"total": 4,
"items": [
{
"id": "5Xt5DXGzch68nYYamXrNxZ",
"audio_preview_url": "https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17",
"description": "A Spotify podcast sharing fresh insights on important topics of the moment—in a way only Spotify can. You’ll hear from experts in the music, podcast and tech industries as we discover and uncover stories about our work and the world around us.\n",
"duration_ms": 1686230,
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "https://api.spotify.com/v1/episodes/5Xt5DXGzch68nYYamXrNxZ",
"html_description": "<p>A Spotify podcast sharing fresh insights on important topics of the moment—in a way only Spotify can. You’ll hear from experts in the music, podcast and tech industries as we discover and uncover stories about our work and the world around us.</p>\n",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"is_externally_hosted": true,
"is_playable": true,
"languages": [
"fr",
"en"
],
"name": "Starting Your Own Podcast: Tips, Tricks, and Advice From Anchor Creators\n",
"release_date": "1981-12-15",
"release_date_precision": "day",
"type": "episode",
"uri": "spotify:episode:0zLhl3WsOCQHbe1BPTiHgr",
"language": "en",
"published": true,
"restrictions": {
"published": true,
"reason": "reason"
},
"resume_point": {
"fully_played": true,
"published": true,
"resume_position_ms": 0
}
}
],
"published": true
}Returns Examples
{
"href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20\n",
"limit": 20,
"next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"offset": 0,
"previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"total": 4,
"items": [
{
"id": "5Xt5DXGzch68nYYamXrNxZ",
"audio_preview_url": "https://p.scdn.co/mp3-preview/2f37da1d4221f40b9d1a98cd191f4d6f1646ad17",
"description": "A Spotify podcast sharing fresh insights on important topics of the moment—in a way only Spotify can. You’ll hear from experts in the music, podcast and tech industries as we discover and uncover stories about our work and the world around us.\n",
"duration_ms": 1686230,
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "https://api.spotify.com/v1/episodes/5Xt5DXGzch68nYYamXrNxZ",
"html_description": "<p>A Spotify podcast sharing fresh insights on important topics of the moment—in a way only Spotify can. You’ll hear from experts in the music, podcast and tech industries as we discover and uncover stories about our work and the world around us.</p>\n",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"is_externally_hosted": true,
"is_playable": true,
"languages": [
"fr",
"en"
],
"name": "Starting Your Own Podcast: Tips, Tricks, and Advice From Anchor Creators\n",
"release_date": "1981-12-15",
"release_date_precision": "day",
"type": "episode",
"uri": "spotify:episode:0zLhl3WsOCQHbe1BPTiHgr",
"language": "en",
"published": true,
"restrictions": {
"published": true,
"reason": "reason"
},
"resume_point": {
"fully_played": true,
"published": true,
"resume_position_ms": 0
}
}
],
"published": true
}