Skip to content

Latest commit

聽

History

History
59 lines (43 loc) 路 1.56 KB

File metadata and controls

59 lines (43 loc) 路 1.56 KB

Albert Heijn API

npm version npm downloads GitHub release License: MIT Node.js

Unofficial REST API voor Albert Heijn producten. Haal productinformatie, prijzen, ingredi毛nten en allergenen op.

Installatie

Via npm (makkelijkst)

npm install -g @louaycoding/albert-heijn-api
ah-api

Via GitHub

git clone https://github.com/LouayCoding/albert-heijn-api.git
cd albert-heijn-api
npm install
npm start

Gebruik

Producten zoeken

curl "http://localhost:3000/api/products/search?q=melk&limit=10"

Product details

curl "http://localhost:3000/api/products/wi441199"

API Endpoints

  • GET /api/products/search?q={query}&limit={limit} - Zoek producten
  • GET /api/products/:id - Product details
  • GET /api/products/categories/list - Alle categorie毛n
  • GET /api/health - Health check

Features

  • Caching (1 uur)
  • Rate limiting
  • Anti-detectie headers
  • CORS enabled

Tech Stack

Node.js, Express, Puppeteer

License

MIT - Iedereen mag het gebruiken