Real JavaScript examples for each European supermarket supported by the Pepesto API.
Pepesto is a grocery API that lets you parse recipes, match ingredients to real supermarket SKUs across 26 European supermarkets, and create checkout sessions — all via a simple REST API. Docs at pepesto.com/api.
export PEPESTO_EMAIL=you@example.com
node getting-started/get-api-key.js
export PEPESTO_API_KEY=pep_sk_your_key_here
node supermarkets/tesco-recipe-to-cart-oneshot.js| File | Purpose |
|---|---|
utils/format-currency.js |
Format Pepesto price integers to readable strings (EUR, GBP, CHF, NOK, PLN, BGN) |
utils/find-promotions.js |
Extract and sort promoted products from a /api/catalog or /api/promotions response |
getting-started/get-api-key.js |
Request an API key via /api/link and check your credit balance |
MIT