Amazon Product API and Rails

2019-03-13 13:15发布

问题:

Just wanted some advice on using the Amazon API to run a check against their database to return a product. For example say a DVD was added, I want a link to be returned linking to the product on Amazon.

I've come across a few gems such as ruby-aws which ones from your experience are the best and easiest to use? Also with the most resources available, I'm a total Rails noob! So I need a lot of help with this.

Thank-You

Mark

回答1:

If you need product details from the Amazon Product Advertising API, try Vacuum.

If you simply need to construct a link back to Amazon, append the ten-digit ASIN of the product to:

http://www.amazon.com/dp/[ASIN goes here]


回答2:

I've tried ruby-aaws and amazon-ecs. They're both about as good as each other. Sadly, the API itself is pretty uneven and Amazon don't seem to like it much; they recently removed the product review details from it.