Coder Social home page Coder Social logo

rohit-gohri / zomato-telegram-bot Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 1.98 MB

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

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

TypeScript 90.44% JavaScript 9.56%
telegram telegram-bot zomato-api zomato inline-bots search food restaurant typescript ts

zomato-telegram-bot's Introduction

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

zomato-telegram-bot's People

Contributors

dependabot[bot] avatar rohit-gohri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

terrorizer1980

zomato-telegram-bot's Issues

Add option to set home location

As locations are not available on dekstop or user may not want to give location access. We can add option to set home location through chat

Add tracking of some kind

To show stats like

  • how many users used this in a day, week, etc
  • links shared
  • searches made

Don't save sensitive data. Use something simple like SQLite.

Improve Search

  • Allow searching with emoji (like swiggy on web)
  • search by cuisine
  • Allow specifying location with @ char instead of near

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.