Module: Songkick::Event

Included in:
Client
Defined in:
lib/songkick/client/event.rb

Instance Method Summary collapse

Instance Method Details

#event_set_lists(event_id) ⇒ Object

Returns the setlists for a specific event.

Example: sg = Songkick.new(“myapikey”) set_list = sg.event_set_lists(123) The first argument is the event id



20
21
22
# File 'lib/songkick/client/event.rb', line 20

def event_set_lists(event_id)
  get "events/#{event_id}/setlists.#{format}"
end

#find_event(event_id) ⇒ Object

Find detailed information about an event

Example: sg = Songkick.new(“myapikey”) event = sg.find_event(123) The first argument is the event id



10
11
12
# File 'lib/songkick/client/event.rb', line 10

def find_event(event_id)
  get "events/#{event_id}.#{format}"
end