Last active
August 2, 2018 12:35
-
-
Save taroyanaka/5029d040bce91348803b49552c28be6c to your computer and use it in GitHub Desktop.
gem install amazon-ecs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'amazon/ecs' | |
require 'pp' | |
Amazon::Ecs.options = { | |
:associate_tag => 'foo', | |
:AWS_access_key_id => "bar", | |
:AWS_secret_key => "buz", | |
} | |
search_word = ARGV[0] | |
pp Amazon::Ecs.item_search(search_word, {:search_index => 'VideoGames', :response_group => 'ItemAttributes,OfferFull,Reviews', :country => 'jp' }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment