Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try to set the 'MerchantId' parameter to 'All':</p> <pre><code>root = api.item_search('All', Keywords=searchWord, ResponseGroup='Large', ItemPage=pageNo, MerchantId='All') </code></pre> <p>If you don't specify it, it will be defaulted to "Amazon", which is why you see only Amazon's products (please refer to the <a href="http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?ItemSearch.html" rel="nofollow">Item Search</a> documentation for more information)</p> <hr> <p>To answer your comment, here is the code I have tried out:</p> <pre><code>AWS_KEY = '...' SECRET_KEY = '...' searchWord = "Lenovo" pageNo = "1" api = API(AWS_KEY, SECRET_KEY, 'us') result = api.item_search('All', Keywords=searchWord, ResponseGroup='Large', ItemPage=pageNo, MerchantId='All') for item in result.Items.Item: print item.ItemAttributes.Title </code></pre> <p>This yields the following results (as of 05/28/2011)</p> <ul> <li>Lenovo G560 Series 067999U Laptop (Black)</li> <li>Lenovo G560 Series 0679ALU 15.6-Inch Laptop (Black)</li> <li>Lenovo Multimedia Remote with Keyboard</li> <li>Lenovo G560 Series 0679AKU 15.6-Inch Laptop (Black)</li> <li>Lenovo Ideapad Z560 09143YU 15.6-Inch Laptop (Black)</li> <li>Lenovo IdeaPad U260 08763DU 12.5-Inch Ultraportable Laptop (Clementine Orange)</li> <li>Lenovo Ideacentre H405 77231AU Desktop (Black)</li> <li>Lenovo ThinkPad 0578F7U Notebook - Core i3 i3-370M 2.4GHz - 14-Inch - [...]</li> <li>Lenovo G560 Series 0679AJU 15.6-Inch Laptop (Black)</li> <li>Lenovo Ideapad G550 2958-9PU 15.6-Inch Laptop (Black)</li> </ul> <p>This seems to be the exact 10 items that are currently showing up on the Amazon Search page you linked to in your comment.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload