API Doc

API Methods

geo.getEvents

Get all events in a specific location by country or city name.
Original docs: geo.getEvents

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=geo.getevents&location=New York&api_key=b25b959554ed76058ac220b7b2e0a026

Params

location (Required) : Specifies a location to retrieve events for. This will not return nearby events by default.
distance (Optional) : Find events within a specified distance
page (Optional) : Display more results by pagination
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)

{
  "location: "New York",
  "page": 1,
  "totalpages": 105,
  "total": 1050,
  "events": [{
      "id": "640418",
      "title": "Nikka Costa",
      "headliner": "Nikka Costa",
      "artists":["Nikka Costa"],
      "venue": {
          "name": "Bowery Ballroom",
          "location": {
              "city": "New York",
              "country": "United States",
              "street": "6 Delancey",
              "postalcode": "10002",
              "geo_point": {
                  "lat": "40.71417",
                  "long": "-74.00639"
              }
              "timezone": "EST"
          }
          "url": "http://www.last.fm/venue/8779095"
      }
      "startDate": "Mon, 30 Jun 2008",
      "startTime": "20:00",
      "description": "...",
      "image_small": "...",
      "image_medium": "...",
      "image_large": "...",
      "url": "http://www.last.fm/event/640418"
  },
  ...
  ]
}