yoavaviram / python-amazon-simple-product-api

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

Some searches return empty price #114

Open Schwankenson opened 7 years ago

Schwankenson commented 7 years ago

Hi, at first: Thank you for this great API wrapper, it saved me a lot of time.

I have one issue: I get no price for a product, when I lookup for the following products:

ASIN: B003UU6W04 https://www.amazon.de/Pak-Indien-Shop-Tilda-Basmati/dp/B003UU6W04?SubscriptionId=AKIAIXTEWKMROK5F7WEA

ASIN: B00B9B0AX6 https://www.amazon.de/Reishunger-Monster-Set-verschiedene-Getreidesorten/dp/B00B9B0AX6

ASIN: B00P07RLJ6: https://www.amazon.de/CLAD-Shinode-Sushi-Reis-10er/dp/B007XUMWRY

"price_and_currency", "formatted_price" and "list_price" are all None. As you can see, the detail page URL shows a price, and I could order the product. While doing the search for getting the ASINs I call the lookup on later, I set "Availability" parameter to "Available".

Could this be a bug in the simple product api code?

tzamboiv commented 7 years ago

I'm having this issue as well. But for me, list_price works but price_and_currency returns None None and formatted_price returns "Too Low To Display"

shazadmaved commented 7 years ago

+1

Anyone found the solution ??

JasonCrowe commented 7 years ago

I notice that these products are atypical for Amazon. FBM or long ship times. 2 things to consider. 1) If you are getting other data, then the issue is with Amazon, not the code. 2) Amazon may be considering these products as non-advertisable. This API is for affiliates that advertise and these products might not meet those requirements.

JasonCrowe commented 7 years ago

Did that answer your question?

Schwankenson commented 7 years ago

Hi Jason,

not really, I get an empty price for example for that product: https://www.amazon.de/VERO-MODA-Damen-Skinny-Vmflex/dp/B00UHA9V6W/ref=sr_1_1?s=apparel&ie=UTF8&qid=1509116857&sr=1-1&nodeID=11961464031&psd=1&keywords=damen%2Bhosen&th=1&psc=1

I get this product in the result if I search for products with the following params: {'MerchantId': 'Amazon', 'Keywords': 'Damen Hose', 'SearchIndex': 'Apparel', 'Availability': 'Available'}

When I then do a lookup for the given ASIN, the price is empty. I do not understand, why I can`t get a price fot that prodict

JasonCrowe commented 7 years ago

Look at the following link: https://www.amazon.de/dp/B00UHA9V6W/

When you do a lookup for that asin, this is the information you are going to receive. As you can see, there is not a specific price on the page.

I also loaded the style into Jungle Scout and they show $0 for the price.

It's not you, it's not the tool, it's Amazon.

jonbesga commented 6 years ago

The reason for this is because Amazon doesn't show a fixed for certain items like Clothes or Shoes. The fixed price depends on the size. You could find the price range in the 'VariationsSummary' attribute and each individual price for each size inside each item in the 'Variations' attribute.