rohit-gohri / zomato-telegram-bot

A simple inline telegram bot that searches for restaurants nearby, deployed using ZEIT now

Home Page:https://telegram.me/boring_food_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple inline telegram bot that searches for restaurants nearby, deployed using ZEIT now

https://telegram.me/boring_food_bot


Languages

Language:TypeScript 90.4%Language:JavaScript 9.6%