grabmart
GrabMart API client and grab mart subcommands for grabcli.
This is an internal building block of the grab CLI, not a general-purpose
library. Its API is not stable.
Modules
api: public and protected endpoint URLs and the URL allowlist; the order-submission URL is only registered when ordering is enabled.client: paced requests (at least 2 s apart, one retry on429).recaptcha: the reCAPTCHA v3 token, minted in the browser over CDP and never printed or cached.model: stores, departments and products.cart,quote: the local mart cart (separate from food's) and price quotes.order: gated order submission, sharing GrabFood's confirmation gate (docs/mart.md).
How it fits
Built on grabcli-core for session, auth (including
GrabMart's own GrabID web login), HTTP and the read-only browse cache, and reuses grabfood's order gate. The
grabcli binary mounts MartCmd under grab mart and calls
run.
See the root README's disclaimer.