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
Original docs: user.getWeeklyArtistChart
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"
},
...
]
}