geo.getTopTracks
Get the most popular tracks on Last.fm by country.
Original docs: geo.getTopTracks
Original docs: geo.getTopTracks
Params
country (Required) : A country name, as defined by the ISO 3166-1 country names standard.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)
{
"country": "Spain",
"toptracks": [{
"rank": 1,
"name": "Violet Hill",
"playcount": 42,
"mbid: "",
"url": "http://www.last.fm/music/Dream+Theater/_/Learning+to+Live",
"streamable": {
"fulltrack": false,
"preview": true
},
"artist": {
"name": "Coldplay",
"mbid": "cc197bad-dc9c-440d-a5b5-d52ba2e14234",
"url": "http://www.last.fm/music/Coldplay"
},
"image_small": "...",
"image_medium": "...",
"image_large": "..."
},
...
]
}