I am fairly new to Ruby on Rails and have done tutorials on making a blogging app. For this web application that I am making, I am trying to implement the Bandsintown api (https://www.bandsintown.com/api/1.0/authentication) so users can see if there are upcoming events for an artist they pick. Unfortunately, after reading http://bandsintown.rubyforge.org/, I still do not understand how to do even the simplest methods. Any help would be appreciated.
1) Where do I put " require 'bandsintown' "?
2) I use
@venues = Bandsintown::Venue.search({
:query => "House of Blues",
:location => "San Diego, CA"
})in my controller and then
<pre>
<%= @venues.inspect %>
</pre>in the corresponding view but that just shows nil.
Any help would be appreciated!