Get Single Browse Category
browse.categories.retrieve(category_id, **kwargs) -> CategoryRetrieveResponse { id, href, icons, 2 more }
GET/browse/categories/{category_id}
Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).
Parameters
Returns
Get Single Browse Category
require "spotted"
spotted = Spotted::Client.new(access_token: "My Access Token")
category = spotted.browse.categories.retrieve("dinner")
puts(category){
"id": "equal",
"href": "href",
"icons": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "EQUAL",
"published": true
}Returns Examples
{
"id": "equal",
"href": "href",
"icons": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "EQUAL",
"published": true
}