The defined methods be updated to the current version of the documentation via: $ pip install -r requirements. This code is actually generatedĭirectly from the online API documentation pages Rich docstrings and arguments description. finish ( resp )Īll the methods the Last.fm API provides are mirrored in the client with I would be more interested in : OR developing a lastfm client on the server-side, that scrobbles any music requested by a certain user. Tastebuds.fm is a free music-oriented dating site that imports a user's profile from Last.fm. Find out more about how you can plug directly into our vast database or browse the list of methods on the left. This means that the scrobbler for Chrome is here useless to me. the media player that you use must be able to work with the API e.g. update_now_playing ( track = 'Paranoid Android', artist = 'Radiohead', album = 'OK Computer', ) self. The Last.fm API allows anyone to build their own programs using Last.fm data. coroutine def post ( self ): api = AsyncLastfmClient ( api_key = KEY, api_secret = SECRET, session_key = session_key ) resp = yield api. update_now_playing ( track = 'Paranoid Android', artist = 'Radiohead', album = 'OK Computer', ) print resp Asynchronous (uses ) import tornado.web import tornado.gen from lastfmclient.async import AsyncLastfmClient class Scrobbler ( tornado. Scrobble tracks listened to on vinyl or your car. droppingACID wrote: Also not trying to nitpick, but I think last.fm scrobbles after 60 of the song played. Usage Regular from lastfmclient import LastfmClient api = LastfmClient ( api_key = KEY, api_secret = SECRET, session_key = session_key ) resp = api. Keep your Last.fm profile accurate Manually scrobble all of your listens through a number of easy tools. And for some reason the symbol '&' does not scrobble in certain artists names and in song and album titles. Also includes an async variant of the client for The Last.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |