Get a Category
GET
/browse/categories/{category_id}
category-browse
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/browse/categories/' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"href": "string",
"icons": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"id": "string",
"name": "string"
}
请求参数
Path 参数
category_id
必需
Query 参数
country
可选
locale
可选
es_MX
, meaning "Spanish (Mexico)". Provide this parameter if you want the category strings returned in a particular language. Note that, if locale
is not supplied, or if the specified language is not available, the category strings returned will be in the Spotify default language (American English).Header 参数
Authorization
必需
返回响应
修改于 2021-08-02 10:49:33