Keepaapi

Latest version: v0.15.10

Safety actively analyzes 623775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.15.0

Code has been refactored to match pep8 standards. Logger is now local to the module. Shipping prices, which previously messed up the data from a product, are now added directly into the price.

0.13.2

Removed numpy import on load and fixed other python 3 breaking bugs.

0.13

Updated API interface and added category and best sellers search. Useful for obtaining ASINs from Amazon.

For keepa details, see:
https://keepa.com/!discuss/t/request-best-sellers/1298
https://keepa.com/!discuss/t/category-searches/114

Example
python
import keepaAPI
api = keepaAPI.API('key') input actual key from https://keepa.com/!api
categories = api.SearchForCategories(r'Home')
bestsellers = api.BestSellersQuery('9568356011') catID from categories in previous line

0.12

Inserting a unicode string as an ASIN caused the code to error out. It's been fixed along with cleaning up the printout and logging. Also, a new feature has been added to the API. The date times can be kept as integers within numpy as `datetime64[m]` by

python
from keepaAPI import Interface
api = Interface.API(accesskey)
products = api.ProductQuery(asin_list, to_datetime=False)


This may make it easier to store the timestamps as they can be written as an int array rather than as a numpy object.

0.11

Bug fixed where non existent fields where deleted (fields no longer reported in this version of the Keepa server side response)

0.10.1

From testing it appears that matplotlib doesn't like numpy.datetime64 and seems to prefer datetime formatted as a datetime.datetime object.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.