user.getLovedTracks
Get the last 50 tracks loved by a user.
Original docs: user.getLovedTracks
Original docs: user.getLovedTracks
Params
user (Required) : The user name to fetch loved tracks 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",
"lovedtracks": [{
"name": "The Glass Prison",
"mbid: "",
"url": "www.last.fm/music/Dream+Theater/_/The+Glass+Prison",
"date": {
"uts": 1216371514,
"text": "18 Jul 2008, 08:58"
},
"artist": {
"name": "Dream Theater",
"mbid": "28503ab7-8bf2-4666-a7bd-2644bfc7cb1d",
"url": "http://www.last.fm/music/Dream+Theater"
},
"image_small": "...",
"image_medium": "...",
"image_large": "..."
},
...
]
}