amazon-ecs
amazon-ecs copied to clipboard
I has created PAAPI at Japan, item_search is OK, because I has added country, but item_lookup alway call to US: http://ecs.amazonaws.com, How to fix it?
This is search method:
res = Amazon::Ecs.item_search( params[:keyword], search_index: 'Books', dataType: 'script', response_group: 'ItemAttributes, Images, EditorialReview, Offers', country: 'jp', sort: 'price', power: "Not kindle" )
This is item_lookup method:
res = Amazon::Ecs.item_lookup( IdType: 'ASIN', ItemId: params[:id], dataType: 'script', response_group: 'All', country: 'jp' )
or:
res = Amazon::Ecs.item_lookup('') item = res.get_element("Item")
Plz help me!