werdino
Werdino is a promise based web scraper for the Werdino weekly menu at https://clients.eurest.ch/de/tamediazuerich/menu.
Install
Add the Werdino dependency in your package.json
file:
yarn add werdino
Usage
const { werdino } = require('werdino');
werdino()
.then(menus => {
// Do something awesome with the menus JSON
})
.catch(err => {
console.error(err);
});
JSON Schema
The promise returns the following JSON schema with the weekly menu information:
[
{
"title": "Brasserie",
"meals": {
"2017-11-20": {
"title": "Chügelipastetli Luzerner Art",
"description": "mit Brätkügeli und Champignons im Blätterteigpastetli dazu Trockenreis und Erbsen",
"prices": [
"CHF 9.50"
]
},
...
}
},
...
]