I'm using the python-amazon-product-api to create a search bar which will return results similar to the results returned on the amazon site. However, when I do an itemSearch, as follows, I get some results, but it only returns products which are sold and shipped by amazon. I was wondering if anyone could help me fix this.
root = api.item_search('All', Keywords=searchWord, ResponseGroup='Large', ItemPage=pageNo)
Try to set the 'MerchantId' parameter to 'All':
root = api.item_search('All', Keywords=searchWord, ResponseGroup='Large', ItemPage=pageNo, MerchantId='All')
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 Item Search documentation for more information)
To answer your comment, here is the code I have tried out:
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
This yields the following results (as of 05/28/2011)
This seems to be the exact 10 items that are currently showing up on the Amazon Search page you linked to in your comment.