views:

52

answers:

1

I'm trying to get started using the Google Data API for Google Book Search in my Ruby on Rails 3 application, and I don't even understand how to get started. What gems do I need? What do I need to do in order to do something simple like searching for books with a title of Foobar?

A: 

if you want to use the api, i think you will have to use jruby and their java api. no ruby api exists for the book search, according to this: http://code.google.com/apis/books/docs/gdata/code.html

for connecting with google, try using the gdata gem. http://code.google.com/apis/gdata/articles/gdata_on_rails.html#SetupRails

Jed Schneider
Sorry, I can't use Java. I need a Ruby solution.
Andrew
Also, I think I could use the gdata gem, but I can't figure out how to get it to work. Also, a more generic solution would be fine too. I just need a code sample to get me started.
Andrew