API Doc

API Methods

user.getWeeklyArtistChart

Get an artist chart for a user profile, for a given date range. If no date range is supplied, it will return the most recent artist chart for this user.
Original docs: user.getWeeklyArtistChart

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=user.getWeeklyArtistChart&user=rj&api_key=b25b959554ed76058ac220b7b2e0a026

Params

user (Required) : The user name to fetch top tracks for.
from (Optional) : The date at which the chart should start from. See User.getChartsList for more.
to (Optional) : The date at which the chart should end on. See User.getChartsList for more.
api_key (Required) : A Last.fm API key
outtype : The data output format (js, json, php). Default is XML.
callback : Function name that will wrap the data if JSONP (outtype 'js') is used.

Sample Response (JSON Object Structure)

{
  "user": "RJ",
  "weeklyartistchart": [{
      "rank": 1,
      "name": "David Hudson and Friends",
      "playcount": 18,
      "mbid: "80e577ba-841f-43ba-9f32-72e7c1692336",
      "url": "http://www.last.fm/music/David+Hudson+and+Friends"
  },
  ...
  ]
}