Skip to content

Fixed Unicode Error and Added Time as Integer Feature

Compare
Choose a tag to compare
@akaszynski akaszynski released this 03 Jan 20:33
· 159 commits to master since this release

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

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.