Uses the Amazon Product Advertising API to lookup and search for Amazon items.
Add this line to your application's Gemfile:
gem 'amazon-hunter', :git => 'git://github.com/rbwsam/amazon-hunter.git'
And then execute:
$ bundle
require 'amazon/hunter'
Amazon::Hunter.config = {
:associate_tag => 'test',
:AWS_access_key_id => 'test',
:AWS_secret_key => 'test'
}
item = Amazon::Hunter.lookup('B000TTSXNI')
p item.asin
# B000TTSXNI
p item.brand
# Lasko
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request