I am trying to create a python script that uses the ASIN product to return (via the Amazon API) its UPC. The module I tried to use in this way is python-amazon-product-api (http://packages.python.org/python-amazon-product-api/), but this module does not seem to provide UPC ( or at least I can't find it under product attributes). Is it possible to use this module? If not, what should I switch to? Here is what I still have:
import amazonproduct
SECRET_KEY = 'xxx'
AWS_KEY = 'yyy'
api = amazonproduct.API(AWS_KEY,SECRET_KEY,'us')
node = api.item_lookup('B001OXUIIG')
Again, the UPC is not under node.Items.Item.ItemAttributes. Thank you in advance!
source
share