yoavaviram / python-amazon-simple-product-api

A simple Python wrapper for the Amazon.com Product Advertising API ⛺
Apache License 2.0
817 stars 212 forks source link

can not get asin sales_rank, that is wired #119

Open xz0405 opened 7 years ago

xz0405 commented 7 years ago

codes: amazon = AmazonAPI(AMAZON_ACCESS_KEY, AMAZON_SECRET_KEY, AMAZON_ASSOC_TAG) try: product = amazon.lookup(ItemId='B00E4VIC4C') except Exception as e: print(e) product = amazon.lookup(ItemId = 'B005GUQCGK') print('%s' % product.sales_rank) print('%s' % product.title)

console result: [root@ amazon_api]# python -u test_amazon_api.py None Everest Gym Bag with Wet Pocket, Red, One Size