Open trivv opened 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!
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" )
res = Amazon::Ecs.item_lookup( IdType: 'ASIN', ItemId: params[:id], dataType: 'script', response_group: 'All', country: 'jp' )
res = Amazon::Ecs.item_lookup('') item = res.get_element("Item")
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!