Get User's Saved Shows
me().shows().list(ShowListParamsparams = ShowListParams.none(), RequestOptionsrequestOptions = RequestOptions.none()) : ShowListPage
GET/me/shows
Get a list of shows saved in the current Spotify user's library. Optional parameters can be used to limit the number of shows returned.
Parameters
Returns
Get User's Saved Shows
package dev.cjav.spotted.example
import dev.cjav.spotted.client.SpottedClient
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient
import dev.cjav.spotted.models.me.shows.ShowListPage
import dev.cjav.spotted.models.me.shows.ShowListParams
fun main() {
val client: SpottedClient = SpottedOkHttpClient.fromEnv()
val page: ShowListPage = client.me().shows().list()
}{
"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": [
{
"added_at": "2019-12-27T18:11:19.117Z",
"published": true,
"show": {
"id": "id",
"available_markets": [
"string"
],
"copyrights": [
{
"published": true,
"text": "text",
"type": "type"
}
],
"description": "description",
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"html_description": "html_description",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"is_externally_hosted": true,
"languages": [
"string"
],
"media_type": "media_type",
"name": "name",
"publisher": "publisher",
"total_episodes": 0,
"type": "show",
"uri": "uri",
"published": true
}
}
],
"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": [
{
"added_at": "2019-12-27T18:11:19.117Z",
"published": true,
"show": {
"id": "id",
"available_markets": [
"string"
],
"copyrights": [
{
"published": true,
"text": "text",
"type": "type"
}
],
"description": "description",
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"html_description": "html_description",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"is_externally_hosted": true,
"languages": [
"string"
],
"media_type": "media_type",
"name": "name",
"publisher": "publisher",
"total_episodes": 0,
"type": "show",
"uri": "uri",
"published": true
}
}
],
"published": true
}