xiongchiamiov/lastfm-tail — Issue #6: Switch to API over RSS feed
Author: xiongchiamiov
Created: 2012-03-06 02:36:07+00:00
State: open

The API [provides](http://www.last.fm/api/show/user.getRecentTracks) a method that gives us the same information we want.

Upsides:

* Up to 200 tracks instead of 10
* Can retrieve in JSON instead of XML
* Has "now playing" support
* Gives more information than just "artist - track"

Downsides:

* Have to apply for an API key
- 4.4 You will implement suitable caching in accordance with the HTTP headers sent with web service responses. You will not make more than 5 requests per originating IP address per second, averaged over a 5 minute period, without prior written consent. You agree to cache similar artist and any chart data (top tracks, top artists, top albums) for a minimum of one week.