lib/songkickr/remote.rb in songkickr-0.1.1 vs lib/songkickr/remote.rb in songkickr-0.1.2
- old
+ new
@@ -70,9 +70,15 @@
def users_events(username, query = {})
result = self.class.get("/users/#{username}/events.json", :query => query)
Songkickr::EventResult.new result
end
+ # Metro Area Events (Upcoming) - http://www.songkick.com/developer/upcoming-events-for-metro-area
+
+ def metro_areas_events(metro_area_id, query = {})
+ result = self.class.get("/metro_areas/#{metro_area_id}/calendar.json", :query => query)
+ Songkickr::EventResult.new result
+ end
# Parameters - http://www.songkick.com/developer/setlists
#
# event_id
\ No newline at end of file