diff --git a/amazon/api.py b/amazon/api.py index 300cc5c..99d8cd0 100644 --- a/amazon/api.py +++ b/amazon/api.py @@ -670,6 +670,21 @@ def __init__(self, item, aws_associate_tag, api, *args, **kwargs): self.parent = None self.region = kwargs.get('region', 'US') + @property + def similar_products(self): + """SimlarProducts. + + :return: + List Of ASIN Similar Products (list) + """ + + result = [] + similar_products = self._safe_get_element('SimilarProducts.SimilarProduct') + if similar_products is not None: + for similar_product in similar_products: + result.append(similar_product.ASIN.text) + return result + @property def price_and_currency(self): """Get Offer Price and Currency.