Asynchronous Client#

Create AsyncKeepa with its asynchronous classmethod, then await endpoint calls.

import keepa

api = await keepa.AsyncKeepa.create("<REAL_KEEPA_KEY>")
products = await api.query("B0088PUEPK")

Client#

keepa.AsyncKeepa()

Asynchronous Python interface to keepa backend.

Methods#

keepa.AsyncKeepa.best_sellers_query(category)

Retrieve an ASIN list of the most popular products.

keepa.AsyncKeepa.category_lookup(category_id)

Return root categories given a categoryId.

keepa.AsyncKeepa.create(accesskey[, timeout])

Create an asynchronous Keepa client without making an API request.

keepa.AsyncKeepa.deals(deal_parms[, domain, ...])

Query the Keepa API for product deals.

keepa.AsyncKeepa.download_graph_image(asin, ...)

Download the graph image of an ASIN from keepa.

keepa.AsyncKeepa.product_finder(product_parms)

Query the keepa product database to find products matching criteria.

keepa.AsyncKeepa.query(items[, stats, ...])

Perform a product query of a list, array, or single ASIN.

keepa.AsyncKeepa.search_for_categories(...)

Search for categories from Amazon.

keepa.AsyncKeepa.seller_query(seller_id[, ...])

Receive seller information for a given seller id or ids.

keepa.AsyncKeepa.update_status()

Update available tokens.

keepa.AsyncKeepa.wait_for_tokens()

Check if there are any remaining tokens and waits if none are available.

Attributes#

keepa.AsyncKeepa.time_to_refill

Return the time to refill in seconds.