Edit the config.json
in the root of the folder with your set of keys/token or read the config section.
yarn
yarn start
OR
npm install
npm run start
Add a config.json
to a folder called private
in the root directory.
The format should be :
{
"zomato": {
"token": "YOUR_API_TOKEN"
},
"telegram": {
"token": "YOUR_BOT_TOKEN"
}
}
Get Zomato API token at: https://developers.zomato.com/api Generate Telegram bot token with @botfather bot on telegram: https://telegram.me/botfather
- Zomato: https://developers.zomato.com/documentation
- Telegram: https://core.telegram.org/bots/api
- Telegraf's inline mode docs: https://core.telegram.org/bots/api#inline-mode