SpotifyのAPIを試す

日本ではサービスの開始が始まる始まると言いながら全く始まりそうにないSpotifyですが、APIは日本からも普通に使えたりします。
音楽好きとしては日本からの利用がこんなにあるんだよ!ってアピールして日本でのサービス開始を促したいところ(大げさ)

https://developer.spotify.com/web-api/

ここから利用出来るAPIを探してきます。
この中でもSpotifyにどんだけのアーティストが登録しているのか気になります。
なので、ここはSearch for an Itemってのを試します。

https://developer.spotify.com/web-api/search-item/

試しに

https://api.spotify.com/v1/search?query=a*&offset=0&limit=1&type=artist

を投げると

{
“artists” : {
“href” : “https://api.spotify.com/v1/search?query=a*&offset=0&limit=1&type=artist”,
“items” : [ {
“external_urls” : {
“spotify” : “https://open.spotify.com/artist/1vCWHaC5f2uS3yhpwWbIA6”
},
“followers” : {
“href” : null,
“total” : 3941093
},
“genres” : [ “big room”, “edm”, “electro house”, “house”, “progressive electro house” ],
“href” : “https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6”,
“id” : “1vCWHaC5f2uS3yhpwWbIA6”,
“images” : [ {
“height” : 686,
“url” : “https://i.scdn.co/image/886965d33b3e1e469d24f3a8e44374b1e19d3055”,
“width” : 1000
}, {
“height” : 439,
“url” : “https://i.scdn.co/image/b34ff69e37a8e5ceed9568b1e817b88d6c2691dd”,
“width” : 640
}, {
“height” : 137,
“url” : “https://i.scdn.co/image/5a4f940347ac9bc42405a3c66531b7c1cb25efa0”,
“width” : 200
}, {
“height” : 44,
“url” : “https://i.scdn.co/image/3e77006dc092166fee8b9004e4e1e1fabc045d93”,
“width” : 64
} ],
“name” : “Avicii”,
“popularity” : 94,
“type” : “artist”,
“uri” : “spotify:artist:1vCWHaC5f2uS3yhpwWbIA6”
} ],
“limit” : 1,
“next” : “https://api.spotify.com/v1/search?query=a*&offset=1&limit=1&type=artist”,
“offset” : 0,
“previous” : null,
“total” : 469391
}
}

とAviciiさんが返されました。
ついでに検索した「a」がつくアーティストの総数はなんと「469391」!!(2015/06/07現在)
すごいさすがSpotify。
で、結局何が言いたかったかと言うと
「早く日本でもサービスを開始してください。お願いします。Spotifyさん!」ってことです。