开发者

Is it possible to get scrobbling from information from last.fm API

I am getting information about the track I am listening to from last.fm.. I cannot however get the information about what I am scrobbling from, like you see on you last.fm page: "scrob开发者_如何学JAVAbling now from spotify"

Does anyone know if this is possible without scraping the user page?

I don't see anything in the API docs - could easily be missing something.

The call I am using to get the now playing track is user.getRecentTracks which you use a attribute on the first song returned (nowplaying="true") to tell if its being played now and there is nothing about what I am listening on there.


The answer is: no, Last.fm API doesn't support this feature.

The only way you can get this information is to scrap it from <div class="scrobblesource">.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜