/aromi

🍲 Node.js library for getting Aromi menu data.

Primary LanguageTypeScriptMIT LicenseMIT

aromi

Library for getting Aromi menu data.

Example

import { Aromi } from 'aromi';

const aromi = new Aromi('https://ruokalistat.azurewebsites.net/');

aromi
  .getRestaurants()
  .then((restaurants) => restaurants[0])
  .then((restaurant) => restaurant.menus[0].getData())
  .then((menuData) => console.log(menuData.Name));