werdino

2.0.0 • Public • Published

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"
        ]
      },
      ...
    }
  },
  ...
]

Readme

Keywords

none

Package Sidebar

Install

npm i werdino

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

3.8 kB

Total Files

3

Last publish

Collaborators

  • npm