Daily menus parsed in neat form for copy-pasting to Slack. Like this:
$ yarn start
yarn run v1.17.3
$ ts-node src/index.ts
:whale: *Kavárna Velryba*
Květákový krém se žlutým kari
39 Kč
Pečené papriky
plněné pikantní fazolovo-zeleninovým ragú s tomatovou omáčkou
125 Kč
Steak z kuřecích prsou
s vinnou omáčkou a parmezánovým bramborem
125 Kč
Trhané vepřové maso BBQ,
bílé zelí s jalapeňos, čedar, dresink a hranolky
125 Kč
Spaghetti
se sušenými rajčaty, černými olivami, česnekem, chilli a parmezánem
125 Kč
✨ Done in 3.77s.
To get this running install:
- Node.js (check supported version(s) in package.json)
- Yarn (package manager)
- JavaScript Dependencies (by running
yarn
)
Launches the test suite in the watch mode.
Edit src/index.ts to change what is being parsed.
- no configuration necessary
apiKey: string
- Zomato API key, can be obtained at https://developers.zomato.com/api
id: number
- Restautant ID, can be obtained from restautant page (sample) source code by searching for RES_ID
name: string
- Restaurant name
emoji?: string
- optional Slack emoji, defaults to "knife_fork_plate"
Runs the app.
Launches the test suite (powered by lightweight Mocha test runner).
Launches the test suite in watch mode.