Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohit-gohri/zomato-telegram-bot
A simple inline telegram bot that searches for restaurants nearby, deployed using ZEIT now
https://github.com/rohit-gohri/zomato-telegram-bot
food hacktoberfest inline-bots restaurant search telegram telegram-bot ts typescript zomato zomato-api
Last synced: 14 days ago
JSON representation
A simple inline telegram bot that searches for restaurants nearby, deployed using ZEIT now
- Host: GitHub
- URL: https://github.com/rohit-gohri/zomato-telegram-bot
- Owner: rohit-gohri
- Created: 2019-01-26T18:11:26.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T18:00:53.000Z (over 2 years ago)
- Last Synced: 2024-10-04T18:47:02.059Z (about 1 month ago)
- Topics: food, hacktoberfest, inline-bots, restaurant, search, telegram, telegram-bot, ts, typescript, zomato, zomato-api
- Language: TypeScript
- Homepage: https://telegram.me/boring_food_bot
- Size: 1.94 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zomato-telegram-bot
## Start
Edit the `config.json` in the root of the folder with your set of keys/token or read the [config](#config) section.
```sh
yarn
yarn start
```OR
```sh
npm install
npm run start
```## config
Add a `config.json` to a folder called `private` in the root directory.
The format should be :
```json
{
"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](./docs/search_preview.jpg)Message:
![message preview image](./docs/message_preview.jpg)### API Documentation
- 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