Class: LastFM::Api::Venue
- Inherits:
-
Object
- Object
- LastFM::Api::Venue
- Defined in:
- lib/lastfm/api/venue.rb
Class Method Summary collapse
-
.get_events(params) ⇒ Object
Get a list of upcoming events for a venue.
-
.get_past_events(params) ⇒ Object
Get a paginated list of all the events held at this venue in the past.
-
.search(params) ⇒ Object
Search for a venue by venue name.
Class Method Details
.get_events(params) ⇒ Object
Get a list of upcoming events for a venue.
11 12 13 |
# File 'lib/lastfm/api/venue.rb', line 11 def get_events( params ) LastFM.get( "venue.getEvents", params ) end |
.get_past_events(params) ⇒ Object
Get a paginated list of all the events held at this venue in the past.
22 23 24 |
# File 'lib/lastfm/api/venue.rb', line 22 def get_past_events( params ) LastFM.get( "venue.getPastEvents", params ) end |
.search(params) ⇒ Object
Search for a venue by venue name.
33 34 35 |
# File 'lib/lastfm/api/venue.rb', line 33 def search( params ) LastFM.get( "venue.search", params ) end |