from amazon.api import AmazonAPI
amazon = AmazonAPI(ACCESS_KEY, SECRET, ASSOC)
results = amazon.search(Keywords='book name', SearchIndex='Books')
for item in results:
    pass
Searching for books with the Amazon Product Advertising API - Python