What is it?
MooFm is a little (<5Ko) MooTools plugin making access to this data as easy as it can be. It lets you get the stats asynchronously without having to deal with query concatenation or Ajax calls.
How do I use it?
Let’s say we want to get the most popular album of Nirvana. Taking a look at the last.fm API guide, we find the documentation for the artist.getTopAlbums method.
Couldn’t be simpler, right? All Last.fm readonly methods are accessible this way.
Here is a little demo I put together as an example.