Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jolle/aromi
🍲 Node.js library for getting Aromi menu data.
https://github.com/jolle/aromi
Last synced: about 1 month ago
JSON representation
🍲 Node.js library for getting Aromi menu data.
- Host: GitHub
- URL: https://github.com/jolle/aromi
- Owner: jolle
- License: mit
- Created: 2020-05-28T13:19:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T13:22:16.000Z (over 4 years ago)
- Last Synced: 2023-11-09T13:14:30.213Z (about 1 year ago)
- Language: TypeScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aromi
Library for getting Aromi menu data.
## Example
```ts
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));
```