Amazon Product Advertising API不会为每个父ASIN返回变体

时间:2019-02-09 23:21:13

标签: python amazon-web-services bottlenose amazon-advertising-api

我有以下两个父ASIN示例,都在Amazon上有所不同。但是,变体不会在第二个ASIN上返回。亚马逊是否只是不返回每种产品的版本?还是我在这里想念什么? API访问示例是通过Python库bottlenose完成的。

import bottlenose
from lxml import objectify, etree

api = bottlenose.Amazon(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG, Region='UK')

具有变化的结果

result_with_variations = api.ItemLookup(ItemId='B07DWCCHLK', ResponseGroup="VariationMatrix")
root = objectify.fromstring(result_with_variations)
items = etree.tostring(root.Items.Item)

enter image description here

结果无差异

result_without_variations = api.ItemLookup(ItemId='B07KMFH2GL', ResponseGroup="VariationMatrix")

enter image description here

0 个答案:

没有答案