https://github.com/jatin-8898/covid-bot
Whatsapp bot provides number of Cases & some Prevention measures 🛡
https://github.com/jatin-8898/covid-bot
bot bots flask flask-api flask-application gunicorn heroku heroku-cli heroku-deployment herokuapp python twilio twilio-chat twilio-python twilio-sms-api whatsapp whatsapp-bot whatsapp-chat
Last synced: 21 days ago
JSON representation
Whatsapp bot provides number of Cases & some Prevention measures 🛡
- Host: GitHub
- URL: https://github.com/jatin-8898/covid-bot
- Owner: Jatin-8898
- License: mit
- Created: 2020-03-23T09:03:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:52:05.000Z (almost 3 years ago)
- Last Synced: 2025-02-02T01:22:21.396Z (10 months ago)
- Topics: bot, bots, flask, flask-api, flask-application, gunicorn, heroku, heroku-cli, heroku-deployment, herokuapp, python, twilio, twilio-chat, twilio-python, twilio-sms-api, whatsapp, whatsapp-bot, whatsapp-chat
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 🛡 Covid Bot
[](https://github.com/Jatin-8898/covid-bot/blob/master/LICENSE.md)
[](https://github.com/Jatin-8898/covid-bot/stargazers)

Whatsapp bot which provides the number of cases/deaths reported worldwide as well in some countries like
* India
* USA
* China
* Italy
It also provides some prevention measures inspired from the Government of India Corona Bot.
### You can check out this [Medium article](https://medium.com/@Jatin_8898/how-to-create-covid-whatsapp-bot-2d424c96a4d6)
## 🚀 Features
- Stats of Corona Virus cases WorldWide
- Stats of Corona Virus cases happening in India, USA, China, Italy
- How does it spread and how to prevent it?
- Its reliable source of data
- Its ROBUST!
- Don't like a feature? Change it! Raise a Pull Request too 😉
## 💻 Prereqisites
* [Python 3.6](https://www.python.org/downloads/) or newer
* Virtual environment python plugin (Installation steps are given below).
* [Flask](https://palletsprojects.com/p/flask/) web application framework for Python
* A smartphone with an active phone number and WhatsApp installed.
* A [Twilio](https://www.twilio.com/) account
## 📝 Usage
To use this bot click on this [LINK](https://api.whatsapp.com/send?phone=14155238886&text=join%20shout-daughter&source=&data=)
**Manual Way**
Simply send a WhatsApp message to **(+1) 415523 8886** with code **join shout-daughter**.
It will show a message saying connected to sandbox.
Now start talking by saying **Hi | India | USA | Italy** and it will display the followup chats.
## 🚀 Demo Screens



### Clone this Repo
```
https://github.com/Jatin-8898/covid-bot.git
```
### 📘 Installation
```
$ pip install virtualenv
$ virualenv covid-bot
$ covid-bot\Scripts\activate
$ pip install flask
$ pip install twilio
$ pip install request
```
### References
[Medium tutorial](https://www.twilio.com/blog/build-a-whatsapp-chatbot-with-python-flask-and-twilio)
[Covid API](https://github.com/javieraviles/covidAPI)