Get Single Browse Category
browse.categories.retrieve(strcategory_id, CategoryRetrieveParams**kwargs) -> CategoryRetrieveResponse
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
import os
from spotted import Spotted
client = Spotted(
access_token=os.environ.get("SPOTIFY_ACCESS_TOKEN"), # This is the default and can be omitted
)
category = client.browse.categories.retrieve(
category_id="dinner",
)
print(category.id){
"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
}