This is a simple module which allows you to embed Last.fm statistics for a user inside a node. The module has an own block, which can show the statistics in multiple form, such as links, plain text or flash. The module is able to fetch multiple sorts of feeds from Last.fm API 2.0. Feeds are cached in the database and updated on request or using Drupal cron on a customisable interval. Checking is done intelligently using If-Modified-Since and Expires headers.
The module requires profile and services modules. This version of the module supports the new Last.fm API 2.0, instead of the first API version. There are some restrictions, because the new API provides the actual statistics, not cached ones. This means the module can make only 5 requests / sec from one IP. This is why most of the statistics are cached locally for a week and new requests should wait in a request line. Please be patient and wait for the statistics. Last.fm also have some restrictions for the Last.fm logo, so if you want to change anything on the block, do it only for your own responsibility.
More info about the Last.fm API 2.0:
Last.fm API 2.0
This module supports the following statistics:
User statistics:
- Weekly album chart
- Weekly artist chart
- Weekly track chart
- Recent tracks