How to specify marketplace and other questions
brahmac opened this issue · 3 comments
Hello,
Thank you for making this helpful package. I would not have subscribed to Keepa API, if this package wasn't there. I am fairly new with the API and have a few questions - hope someone would be kind enough to help me.
- In the following query how do I specify a marketplace of Canada (6). I thought ASINs were unique to a marketplace, but it seems like they are not (e.g. 1454857935)
asins = np.asarray(['list of asins'])
products = api.query(asins)
products = api.query(asins, domain = 6) doesn't work.
-
What's the difference between 'csv' and 'data' in the product object? A lot of the data between the two seems to be the same.
-
Not all ASINS return enough data via the Keepa API. For example the actively listed starbucks product - B078HVQ311 in CA marketplace - currently returns very little data. However, the Keepa graph within the browser has data for 1069 days. Why is this the case? Not only does it not return enough data - it also returns incorrect data (e.g. the 'title' is not correct)
Thank you.
For 1.
# keepa/interface.py (lines 348-350)
domain : str, optional
One of the following Amazon domains: RESERVED, US, GB, DE,
FR, JP, CA, CN, IT, ES, IN, MX Defaults to US.
you can pass asins as regular list
too
-
I don't know
-
I don't know (maybe related to domain ?)
Thank you. The following solves 1) and 3)
Aproduct = api.query('B078HVQ311', domain = 'CA')
Two years late answering this, but late is better than never...
What's the difference between 'csv' and 'data' in the product object? A lot of the data between the two seems to be the same.
- The
'data'
key is the processed rawcsv
results. When working with this library (ages ago), I found it helpful to have processed results. See:
Lines 185 to 201 in 129f64a