Get Featured Playlists
Deprecated
browse().getFeaturedPlaylists(BrowseGetFeaturedPlaylistsParamsparams = BrowseGetFeaturedPlaylistsParams.none(), RequestOptionsrequestOptions = RequestOptions.none()) : BrowseGetFeaturedPlaylistsResponse
GET/browse/featured-playlists
Get a list of Spotify featured playlists (shown, for example, on a Spotify player's 'Browse' tab).
Parameters
Returns
Get Featured Playlists
package dev.cjav.spotted.example
import dev.cjav.spotted.client.SpottedClient
import dev.cjav.spotted.client.okhttp.SpottedOkHttpClient
import dev.cjav.spotted.models.browse.BrowseGetFeaturedPlaylistsParams
import dev.cjav.spotted.models.browse.BrowseGetFeaturedPlaylistsResponse
fun main() {
val client: SpottedClient = SpottedOkHttpClient.fromEnv()
val response: BrowseGetFeaturedPlaylistsResponse = client.browse().getFeaturedPlaylists()
}{
"message": "Popular Playlists",
"playlists": {
"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": "id",
"collaborative": true,
"description": "description",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "name",
"owner": {
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"published": true,
"type": "user",
"uri": "uri",
"display_name": "display_name"
},
"published": true,
"snapshot_id": "snapshot_id",
"tracks": {
"href": "href",
"published": true,
"total": 0
},
"type": "type",
"uri": "uri"
}
],
"published": true
},
"published": true
}Returns Examples
{
"message": "Popular Playlists",
"playlists": {
"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": "id",
"collaborative": true,
"description": "description",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "name",
"owner": {
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"published": true,
"type": "user",
"uri": "uri",
"display_name": "display_name"
},
"published": true,
"snapshot_id": "snapshot_id",
"tracks": {
"href": "href",
"published": true,
"total": 0
},
"type": "type",
"uri": "uri"
}
],
"published": true
},
"published": true
}