API Doc

API Methods

user.getWeeklyChartList

Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services.
Original docs: user.getWeeklyTrackChart

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

Params

user (Required) : The last.fm username to fetch the charts list for.
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",
  "weeklychartlist": [{
      "from": 1108296002,
      "to": 1108900802
  },
  {
      "from": 1108900801,
      "to": 1109505601
  },
  ...
  ]
}