artist.getTopTracks
Get the top tracks by an artist on Last.fm, ordered by popularity.
Original docs: artist.getTopTracks
Original docs: artist.getTopTracks
Params
artist (Required) : The Artist name in questionapi_key (Required) : A Last.fm API key
outtype : The data output format (js, json, php). Default is XML. See supported response formats in the overview.
callback : Function name that will wrap the data if JSONP (outtype 'js') is used.
Sample Response (JSON Object Structure)
{
"artist": "Cher",
"toptracks": [{
"rank": 1,
"name": "Believe",
"mbid": null,
"playcount": 56325,
"listeners": 23217,
"url": "http://www.last.fm/music/Cher/_/Believe",
"image_small": "...",
"image_medium": "...",
"image_large": "..."
},
...
]
}