API Doc

API Methods

user.getNeighbours

Get a list of a user's neighbours on Last.fm.
Original docs: user.getNeighbours

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=user.getFriends&user=rj&api_key=b25b959554ed76058ac220b7b2e0a026

Params

user (Required) : The last.fm username to fetch the neighbours of.
limit (Optional) : An integer used to limit the number of neighbours returned.
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",
  "neighbours": [{
      "name": "count-bassy",
      "url": "http://www.last.fm/user/count-bassy/",
      "image": "...",
      "match": "100"   
  },
  ...
  ]
}