Amazon API in Rails

Ok, I am a big time rails noob and I need to pull some products
dynamically from amazon. I have done it before with Zend’s PHP
framework, but im so lost with ruby and rails.

I have seen and tried to get a couple things going. Like
http://www.caliban.org/ruby/ruby-amazon/.

I just need a good tutorial on how to set it up. Everything I find seems
to assume I know something. Well thanks to any help.

On Oct 28, 2006, at 12:42 AM, Derek D. wrote:

Ok, I am a big time rails noob and I need to pull some products
dynamically from amazon. I have done it before with Zend’s PHP
framework, but im so lost with ruby and rails.

I have seen and tried to get a couple things going. Like
http://www.caliban.org/ruby/ruby-amazon/.

I just need a good tutorial on how to set it up. Everything I find
seems to assume I know something. Well thanks to any help.

It’s probably a good idea to get a feeling for Ruby and Rails using
some of the standard tutorials. The Agile Web D. book is a
usual first step, but there are other books and numerous tutorials on
the web.

To get started (presuming you have a development key and associates
ID), put the ruby-amazon files in your lib folder, then load up
script/console and type:

require ‘amazon/search.rb’
include Amazon::Search
req = Request.new(dev_key, associates_id)
result = req.asin_search(‘097669400X’)

You might also like to look at my loads_from_amazon plugin:

http://jystewart.net/process/archives/2006/07/loads_from_amazon-ruby-
on-rails-plugin/
http://projects.jystewart.net/svn/rails/loads_from_amazon/trunk/

James.


James S. : Web D.
Work : http://jystewart.net
Play : http://james.anthropiccollective.org

James S. wrote:

On Oct 28, 2006, at 12:42 AM, Derek D. wrote:

It’s probably a good idea to get a feeling for Ruby and Rails using
some of the standard tutorials. The Agile Web D. book is a
usual first step, but there are other books and numerous tutorials on
the web.

James.


James S. : Web D.
Work : http://jystewart.net
Play : http://james.anthropiccollective.org

I agree with James if your new to Rails get the Agile Web D.
book there is a second edition out now in pdf.
Also have a look at the rails recipes book which has alot of solutions
to common problems.

Adrian Lansdown wrote:

James S. wrote:

On Oct 28, 2006, at 12:42 AM, Derek D. wrote:

It’s probably a good idea to get a feeling for Ruby and Rails using
some of the standard tutorials. The Agile Web D. book is a
usual first step, but there are other books and numerous tutorials on
the web.

James.


James S. : Web D.
Work : http://jystewart.net
Play : http://james.anthropiccollective.org

I agree with James if your new to Rails get the Agile Web D.
book there is a second edition out now in pdf.
Also have a look at the rails recipes book which has alot of solutions
to common problems.

Hi Adrian,

Please mail me the soft copy of the pdf. That would be of great help to
me and I am lot in need of it.

[email protected]

Thanks and Regards,
San.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs