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!
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/e8882b78-1d12-4dad-8744-a3f423002e8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.