🤖 Real-time Twitter bot notifying new confirmed Coronavirus cases
Twitter account | Devpost project | Static repo website
🤖 Real time Twitter bot notifying new confirmed Corona virus (CoVid-19) cases, deaths and recovered people by location.
Real time data is being retrieved from the Worldometer website.
This project is using Python3.7. All these requirements have been specified in the requirements.lock
file.
Usage of virtualenv is recommended for package library / runtime isolation.
To run this script, please execute the following from the root directory:
Setup virtual environment
Install dependencies
pip3 install -r requirements.lock
Set up Twitter API account creating the .env file. This file must have this structure (without the brackets):
TWITTER_CONSUMER_KEY={TWITTER_CONSUMER_KEY}
TWITTER_CONSUMER_SECRET={TWITTER_CONSUMER_SECRET}
TWITTER_ACCESS_TOKEN_KEY={TWITTER_ACCESS_TOKEN_KEY}
TWITTER_ACCESS_TOKEN_SECRET={TWITTER_ACCESS_TOKEN_SECRET}
Run the script as a Docker container
docker-compose up -d --build
MIT © CoVid-19 bot