1.0.1 • Published 2 years ago

rewe.de_api v1.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

Rewe.de api

This is an inofficial package to use the rewe api

Usage

Import

import rewe from 'rewe.de_api'// reccomendet

const rewe = require('rewe.de_api')

get markets in area

const res = await rewe.getMarkets(/* zip code */)
const market_id = Number(res[0].wwIdent)

get all products from specific market

const res = await rewe.getProducts(/* market_id */, /* page 1-end */)
const products = res._embedded.products
1.0.1

2 years ago

1.0.0

2 years ago