【发布时间】:2017-05-13 20:56:20
【问题描述】:
我想获取所有艺术家的信息,例如排名、活跃听众、追随者和增加今天的详细信息。是否有任何可能的工具可以随时刮取。
【问题讨论】:
标签: spotify
我想获取所有艺术家的信息,例如排名、活跃听众、追随者和增加今天的详细信息。是否有任何可能的工具可以随时刮取。
【问题讨论】:
标签: spotify
Spotify API 有一个 Get an Artist 端点,可让您访问流行度、图像、关注者、流派等内容。此处记录:https://developer.spotify.com/web-api/get-artist/
响应可能如下所示:
{
"external_urls" : {
"spotify" : "https://open.spotify.com/artist/0OdUWJ0sBjDrqHygGUXeCF"
},
"followers" : {
"href" : null,
"total" : 306565
},
"genres" : [ "indie folk", "indie pop" ],
"href" : "https://api.spotify.com/v1/artists/0OdUWJ0sBjDrqHygGUXeCF",
"id" : "0OdUWJ0sBjDrqHygGUXeCF",
"images" : [ {
"height" : 816,
"url" : "https://i.scdn.co/image/eb266625dab075341e8c4378a177a27370f91903",
"width" : 1000
}, {
"height" : 522,
"url" : "https://i.scdn.co/image/2f91c3cace3c5a6a48f3d0e2fd21364d4911b332",
"width" : 640
}, {
"height" : 163,
"url" : "https://i.scdn.co/image/2efc93d7ee88435116093274980f04ebceb7b527",
"width" : 200
}, {
"height" : 52,
"url" : "https://i.scdn.co/image/4f25297750dfa4051195c36809a9049f6b841a23",
"width" : 64
} ],
"name" : "Band of Horses",
"popularity" : 59,
"type" : "artist",
"uri" : "spotify:artist:0OdUWJ0sBjDrqHygGUXeCF"
}
您可以在此处请求 Web API 问题跟踪器中的其他功能:https://github.com/spotify/web-api/issues
【讨论】: