jugend / amazon-ecs

Amazon Product Advertising Ruby API
MIT License
554 stars 95 forks source link

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? #64

Open trivv opened 6 years ago

trivv commented 6 years ago

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!