红宝石亚马逊图书搜索 [英] Ruby Amazon book search
本文介绍了红宝石亚马逊图书搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
没有任何人有一个很好的Ruby脚本使用他们的API在亚马逊找到的书籍(或其他产品)?
Does anybody have a good ruby script for finding books (or other products) on Amazon using their API?
推荐答案
我一直在使用亚马逊/ ECS 大获成功。其中重要的一点是,它不是GPL协议(而红宝石/ AWS好像是),所以如果它在你的情况下,重要的是,要小心。
I've been using Amazon/ECS with great success. One important point is that it's not GPLed (whereas Ruby/AWS seems to be), so if it's important in your case, take care.
下面是一个例子:
require 'amazon/ecs'
# default options; will be camelized and converted
# to REST request parameters.
Amazon::Ecs.options = {:aWS_access_key_id => [your access key]}
res = Amazon::Ecs.item_search('ruby')
您可能还需要看看与墨菲斯托博客系统集成的一些例子。
You may also want to have a look at some example of integration with the Mephisto blogging system.
干杯!
这篇关于红宝石亚马逊图书搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文