2017-05-13 90 views

回答

2

Spotify的API有一個獲取一個藝術家終點,讓您可以訪問之類的普及,圖像,追隨者,流派等,這是記錄在這裏: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

相關問題