user.getWeeklyAlbumChart
Get an album chart for a user profile, for a given date range. If no date range is supplied, it will return the most recent album chart for this user.
Original docs: user.getWeeklyAlbumChart
Original docs: user.getWeeklyAlbumChart
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",
"weeklyalbumchart": [{
"rank": 1,
"name": "Bedarra",
"playcount": 10,
"mbid: "dc30face-71db-413a-bcae-06accbd64aae",
"url": "http://www.last.fm/music/David+Hudson+and+Friends/Bedarra",
"artist": {
"name": "Dream Theater",
"mbid": "28503ab7-8bf2-4666-a7bd-2644bfc7cb1d"
}
},
...
]
}