Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

ivorpad/mercadona-cli — Unofficial, agent-friendly Mercadona shopping CLI (Go) — search products, read prices, build a cart…

Description and use

**Brief Summary**
ivorpad/mercadona-cli is an unofficial, Go‑based command‑line client for Mercadona’s online shop that lets agents search products, view prices, assemble a cart and generate a checkout payload—all from the terminal. It is credential‑agnostic (you bring your own login) and is positioned as a fast way to prototype or automate billing, PSP, and checkout flows.

**Value**

  • **Speedy integration** – By exposing Mercadona’s shopping API through a simple CLI, developers can hook billing or payment‑service‑provider (PSP) logic into existing automation pipelines without building a full UI.
  • **Agent‑friendly** – The terminal‑first experience matches the workflow of DevOps, QA, or support teams that need to validate product‑price data, cart composition, or checkout edge‑cases quickly.
  • **Open‑source transparency** – With 304 stars, active commits, and a Go codebase, the project is easy to audit, extend, or embed in custom tooling.

**Practical Adoption Path**

  1. **Clone & build** – git clone https://github.com/ivorpad/mercadona-cli && go build ./... (Go 1.22+).
  2. **Configure credentials** – Export your Mercadona session token or username/password as environment variables as documented in the README.
  3. **Prototype** – Use commands such as mercadona search <keyword>, mercadona price <sku> and mercadona cart add <sku> --qty <n> to validate product data and cart logic.
  4. **Integrate** – Wrap the CLI in scripts or invoke its Go package directly from your service to feed cart data into your billing/PSP layer, or use it in CI pipelines for end‑to‑end checkout tests.
  5. **Extend** – Contribute missing features (e.g., coupon handling) or adapt the source to your internal SDK if deeper integration is required.

**Production Readiness**

  • **Activity & community** – The repository shows recent commits (last update 2026‑07‑13), 304 stars, 27 forks, and a well‑populated topic list, indicating healthy community interest.
  • **Stability** – The CLI is a thin wrapper around HTTP calls; the core logic is concise and written in Go, which offers strong static typing and easy cross‑platform binaries.
  • **Risk considerations** – No major licensing or security red flags are visible, but a final audit of the Mercadona API usage terms, the project’s license (MIT/Apache‑style), and any disclosed vulnerabilities is advisable before production deployment.

Overall, mercadona-cli is a mature OSS component that can be piloted quickly for billing or checkout automation, and with a brief security/legal review it is ready for production‑grade use.

Problem

ivorpad/mercadona-cli helps integrate monetization, billing, or PSP flows faster.

Outcome

High for an OSS candidate: recent activity, adoption, and ecosystem signals are strong enough for a serious pilot.

Workflow

  • integrate billing or checkout
  • evaluate PSP flows
  • automate payment operations

Evidence

Unofficial, agent-friendly Mercadona shopping CLI (Go) — search products, read prices, build a cart and prepare checkout from the terminal. BYO credentials.

Source

  • Record date: 2026-09-10T22:11:53.016Z