cx-keepa 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx-keepa",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@ cx get amazon/us/ASIN/product --source keepa
16
16
 
17
17
  `domain` and the market segment follow the seller's marketplace: `1` us, `2` uk, `3` de, `4` fr, `5` jp, `6` ca, `8` it, `9` es, `10` in, `11` mx, `12` br. Typed paths exist for `amazon/us/<asin>/product` and `amazon/jp/<asin>/product`; other markets use raw `GET /product` with `domain` and one ASIN. Search returns ASINs only and is a separate paid call. A seller is looked up by its id on raw `GET /seller`.
18
18
 
19
- Typed requests include history, `stats=90`, `offers=20`, `buybox=1`, `rating=1`; each product path reserves 14 tokens, settling at stated consumption. `latest` accepts a copy up to 1h old. Every raw call reserves 50 tokens, settling likewise; reservations are not charges; tokens are Keepa's meter, not a price. Read the landed file rather than repeating a successful call. `cx raw keepa --record <id> [--part <n>]` reads a kept reply without another purchase. Never name `key`; the gate attaches the credential.
19
+ Typed requests include history, `stats=90`, `offers=20`, `buybox=1`, `rating=1`; each product path reserves 14 tokens, settling at stated consumption. `latest` accepts a copy up to 1h old. Every raw call reserves 50 tokens, settling likewise; reservations are not charges; tokens are Keepa's meter, not a price. `cx raw keepa --record <id> [--part <n>]` reads a kept reply without another purchase. Never name `key`; the gate attaches the credential.
20
20
 
21
21
  ## Read the file
22
22
 
@@ -53,6 +53,8 @@ Only `liveOffersOrder` indices identify current offers. If requested offers fail
53
53
 
54
54
  Dimensions/weights are millimetres/grams; `0` or `-1` means unavailable. `fbaFees.pickAndPackFee` is money. `productType: 4` is no data; `5` is a variation parent.
55
55
 
56
+ `images` lists the product's carousel images, `null` when there are none; each names up to two sizes where Keepa has them, a large file `l` and a medium file `m`, with heights and widths in pixels (`lH`, `lW`, `mH`, `mW`). An image is at `https://m.media-amazon.com/images/I/` followed by its file name. `videos` comes only on raw `GET /product` with `videos=1`, which a typed product file never asks for, and is `null` when Keepa has none; each video has a `title`, a `duration` in seconds, a cover `image` file name read like a carousel image, and a `url`. Keepa reads live video data only when `offers` is asked too.
57
+
56
58
  ## Codes
57
59
 
58
60
  These codes describe the field, not the whole marketplace.