Skip to content

amansr02/CovidAssist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twilio

CovidAssist

About

This is A COVID-19 Assist applications that tells people what the recovered, death and confirmed cases are in their respective countries It is still a work in progress but works well.

How it works

  • I have writted a flask web service which interacts with the covidapi.info api to get data on countries.
  • I am using pycountries to fuzzy search country ISO when someone types in a country.
  • I am using twiml and whatsapp sandbox to interact with users. (twilio api).
  • I am using heroku for deployment of my flask web service.

Features

  • Information about All countries and their Covid Count.
  • Updated and Accurate information as well as request caching to enable faster response times.

Set up and Use

  • Add number : +1 415 523 8886
  • Send text to join sandbox : join fellow-image
  • Send text to get information about country: Information USA
  • examples: Information USA / Information India / Information China / information Pakistan

Requirements

  • a whatsapp number

Twilio Account Settings

Setup a whatsapp sandbox in by creating a free twilio account.

Local development

After the above requirements have been met:

  • Clone this repo
  • setup a virtual environment using pip3 install virtualenv
  • install dependencies in requirements.txt pip3 install -r requirements.txt
  • run python3 app.py and expose localhost using ngrok / or deploy using heroku
  • use sandbox and setup whatsapp bot
  • (follow the above steps by adding number and joining sandbox) Done

License

MIT

Disclaimer

No warranty expressed or implied. Software is as is.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages