Get a Category's Playlists
GET
/browse/categories/{category_id}/playlists
category-browse
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/browse/categories//playlists' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"playlists": {
"href": "string",
"items": [
{
"collaborative": true,
"description": "string",
"external_urls": {
"spotify": "string"
},
"href": "string",
"id": "string",
"images": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"name": "string",
"owner": {
"display_name": "string",
"external_urls": {
"spotify": "string"
},
"followers": {
"href": "string",
"total": 0
},
"href": "string",
"id": "string",
"images": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"type": "string",
"uri": "string"
},
"public": true,
"snapshot_id": "string",
"tracks": {
"href": "string",
"total": 0
},
"type": "string",
"uri": "string"
}
],
"limit": 0,
"next": "string",
"offset": 0,
"previous": "string",
"total": 0
}
}
请求参数
Path 参数
category_id
必需
Query 参数
country
可选
limit
可选
offset
可选
limit
to get the next set of items.Header 参数
Authorization
必需
返回响应
修改于 2021-08-02 10:49:33