2.0.0 • Published 7 years ago

werdino v2.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago

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

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago