{"repo":"MRVDH/picnic-api","free":true,"listed":false,"github":"https://github.com/MRVDH/picnic-api","clone":"git clone https://github.com/MRVDH/picnic-api.git","description":"Unofficial Node.js wrapper for the API of the Picnic online supermarket. Not affiliated with Picnic.","language":"TypeScript","stars":104,"topics":["picnic","online","supermarket","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Picnic-API Unofficial Node.js wrapper for the API of the Picnic online supermarket. Not affiliated with Picnic. Installation Quick start Import the package and create a client. All configuration options are optional. Authentication Most endpoints require authentication. Call auth.login() to obtain an auth key, which is automatically stored in the client and sent with subsequent requests. If you already have a key from a previous session, pass it as authKey in the constructor instead. If the login endpoint responds with a 2FA requirement ( second factor authentication required: true ), then call auth.generate2FACode(\"SMS\") to generate a 2FA code and pass it to auth.verify2FA( ) to complete the login process. Usage examples Custom requests For endpoints not yet covered by a domain service, use sendRequest directly: API reference The client exposes the following domain services, each grouping a set of related endpoints: Service Accessor Description --- --- --- App client.app Bootstrap data, pages, and deeplink resolution. Auth client.auth Login, logout, 2FA, and phone verification. Cart client.cart Cart management, delivery slots and selling units (recipes, meal plans, selling groups). Catalog client.catalog Product search, suggestions, details, and images. Consent client.consent Consent settings and GDPR declarations. Content client.content Static content pages (FAQ, search empty state). Customer Service client.customerService Contact info, messages, reminders, and parcels. Del","default_branch":null,"files":null,"tree":[],"storefront":"/r/MRVDH","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MRVDH/picnic-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}