Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 26 days ago
JSON representation

Whatsapp bot provides number of Cases & some Prevention measures 🛡

Awesome Lists containing this project

README

        

# 🛡 Covid Bot
[![GitHub license](https://img.shields.io/github/license/Jatin-8898/covid-bot?logo=MIT)](https://github.com/Jatin-8898/covid-bot/blob/master/LICENSE.md)
[![GitHub stars](https://img.shields.io/github/stars/Jatin-8898/covid-bot)](https://github.com/Jatin-8898/covid-bot/stargazers)
![Python Badge](https://img.shields.io/badge/Made%20with-Python-blue)

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
![WhatsApp Image 2020-03-23 at 9 25 30 PM](https://user-images.githubusercontent.com/34777376/77336198-31955100-6d4d-11ea-9c03-9c4687b1fc77.jpeg)

### 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)