亚马逊产品API和Rails [英] Amazon Product API and Rails
问题描述
只需要一些有关使用Amazon API对他们的数据库进行检查以返回产品的建议。例如说添加了DVD,我希望返回一个链接,以链接到Amazon上的产品。
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.
我碰到过一些宝石(例如红宝石-aws),从您的经验中,哪些是最好,最容易使用的?另外,如果能获得最多的资源,我将成为一个Rails新手!因此,我需要很多帮助。
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.
谢谢
马克
推荐答案
如果您需要Amazon Product Advertising API的产品详细信息,请尝试真空。
If you need product details from the Amazon Product Advertising API, try Vacuum.
如果您只需要构造回亚马逊的链接,请将产品的十位数ASIN附加到: / p>
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]
这篇关于亚马逊产品API和Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!