Spotify应用程序艺术家数据抓取

时间:2017-05-13 20:56:20

标签: spotify

我想获得所有艺术家的信息,如排名,积极的倾听者,追随者和增加今天的细节。是否有任何可能性工具可以随时获取。

1 个答案:

答案 0 :(得分:2)

Spotify API有一个Get a 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