aromi

Library for getting Aromi menu data.

Usage no npm install needed!

<script type="module">
  import aromi from 'https://cdn.skypack.dev/aromi';
</script>

README

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));