Skip to content

rohit-gohri/zomato-telegram-bot

Repository files navigation

zomato-telegram-bot

Start

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

config

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

Previews:

Search: search preview image

Message: message preview image

API Documentation