keepa.models.backend.LightningDeal#

pydantic model keepa.models.backend.LightningDeal#

Backend LightningDeal model generated from the Keepa Java schema.

Fields:
field asin: str | None = None#

The ASIN of the product

field currentPrice: int | None = None#

The regular price of this product. Available once the deal has started. -1 if the deal’s state is upcoming. The price is an integer of the respective Amazon locale’s smallest currency unit (e.g. euro cents or yen).

field dealId: str | None = None#

A unique ID for this deal.

field dealPrice: int | None = None#

The discounted price of this deal. Available once the deal has started. -1 if the deal’s state is upcoming. The price is an integer of the respective Amazon locale’s smallest currency unit (e.g. euro cents or yen).

field dealState: DealState | None = None#

The state of the deal.

field domainId: int | None = None#

The domainId of the products Amazon locale

AmazonLocale

field endTime: int | None = None#

The end time of this lightning deal, in Keepa Time minutes.

Use KeepaTime.keepaMinuteToUnixInMillis(int) (long) to get an uncompressed timestamp (Unix epoch time).

field image: str | None = None#

The name of the primary image of the product. null if not available.

field isFulfilledByAmazon: bool | None = None#

Whether or not the deal is fulfilled by Amazon.

field isMAP: bool | None = None#

Whether or not the price is restricted by MAP (Minimum Advertised Price).

field isPrimeEligible: bool | None = None#

Whether or not the deal is Prime eligible.

field lastUpdate: int | None = None#

States the time of our last data collection of this lightning deal, in Keepa Time minutes.

Use KeepaTime.keepaMinuteToUnixInMillis(int) (long) to get an uncompressed timestamp (Unix epoch time).

field percentClaimed: int | None = None#

The percentage claimed of the lightning deal. Since lightning deals have limited stock, this number may change fast on Amazon, but due to the delay of our data collection the provided value may be outdated.

field percentOff: int | None = None#

The provided discount of this deal, according to Amazon. May be in reference to the list price, not the current price.

field rating: int | None = None#

The rating of the product. A rating is an integer from 0 to 50 (e.g. 45 = 4.5 stars).

field sellerId: str | None = None#

The seller id of the merchant offering this deal.

field sellerName: str | None = None#

The name of the seller offering this deal.

field startTime: int | None = None#

The start time of this lightning deal, in Keepa Time minutes. Note that due to the delay in our data collection the deal price might not be available immediately once the deal has started on Amazon.

Use KeepaTime.keepaMinuteToUnixInMillis(int) (long) to get an uncompressed timestamp (Unix epoch time).

field title: str | None = None#

Title of the product. Caution: may contain HTML markup in rare cases.

field totalReviews: int | None = None#

The product’s review count.

field variation: list[VariationAttributeObject | None] | None = None#

The dimension attributes of this deal.