Skip to content

Releases: tamnd/amz-cli

v0.2.1

13 Jun 16:09
v0.2.1

Choose a tag to compare

A bug-fix release from auditing live output for completeness.

Fixes

  • Charts no longer duplicate items. Amazon nests a faceout inside each grid
    item, so the chart parser matched every product twice and a badge-less copy
    fell through to document-order numbering. A 60-item chart came back as 180
    rows with one ASIN landing on several ranks. Charts now yield one entry per
    product, dedupe by ASIN, and stop paging once a page adds nothing new, so
    bestsellers electronics returns 60 rows with ranks 1 to 60 in order.
  • Every scraped field is selectable. --fields now reaches fields that live
    only in the JSON record, such as in_stock, coupon, savings,
    ships_from, images, videos, and ranks, flattening lists and structured
    values into one table or CSV cell instead of rendering them blank.

Install

Download the archive for your platform below, or grab the Linux package (deb,
rpm, apk). The container image is on GHCR:

docker pull ghcr.io/tamnd/amz-cli:0.2.1

Every archive ships with checksums, an SBOM, and a cosign signature.

v0.2.0

13 Jun 15:05
v0.2.0

Choose a tag to compare

amz is a single pure-Go binary that turns every public Amazon.com surface into
rich, structured data. Look up a product, search the catalog, stream the review
corpus, list buying options, read the bestseller charts, and walk a category
tree, then render any of it as a table, JSON, JSONL, CSV, or TSV.

This is the first published release. It captures the full command surface plus a
deep data-model pass that widens what each command returns.

Highlights

Richer records

  • Products now carry savings and savings_pct off the list price, coupon,
    bought_past_month, an in_stock flag, inline videos, ships_from, and a
    ranks list with every Best Sellers Rank instead of only the overall one.
    Availability and images also read from the JSON-LD block.
  • Search cards now carry list_price, badge (Amazon's Choice, Best Seller),
    prime, and bought_past_month.

Canonical images

Amazon serves the same photo at dozens of sizes from several CDN hosts. amz
strips the size modifier from every image URL and pins one canonical host, so
images holds one full-resolution URL per distinct photo, with thumbnails,
tracking pixels, and sprites removed. The same pass runs on products, search
cards, related cards, reviews, brand logos and banners, and author photos.

Fuller paging

Charts page until a page comes back empty rather than stopping at two, and ranks
are offset by page so numbering continues across pages even when Amazon drops the
rank badges.

Install

Download the archive for your platform below, or grab the Linux package (deb,
rpm, apk). The container image is on GHCR:

docker pull ghcr.io/tamnd/amz-cli:0.2.0

Every archive ships with checksums, an SBOM, and a cosign signature.

Docs

Full guides, recipes, and the complete data model live at
https://amz-cli.tamnd.com