Product finder wrong keys?
volcompt opened this issue · 1 comments
volcompt commented
I am trying to run this API query using keepa python API:
{
"manufacturer": [
"abbott"
],
"sort": [
[
"current_SALES",
"asc"
]
],
"productType": [
0,
1
],
"page": 0,
"perPage": 5000
}
Here's what I am doing:
api = keepa.Keepa(accesskey)
product_params = {'manufacturer': 'abbott', 'perPage': 10000, 'sortType': ["current_SALES", "asc"]
, 'productType': [0, 1]}
products = api.product_finder(product_params)
But I get the following error: Invalid key "sortType"
I tried using only sort as in the documentation, but I get a similar error.
akaszynski commented
Sorry for the late response.
Addressed this in #127. Will be fixed in the next release keepa==1.3.5
.