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

https://github.com/lordshenron/covid19_stats

A simple python script that can fetch covid 19 stats and send them to telegram, Based on Emanuel Ramirez's script.
https://github.com/lordshenron/covid19_stats

coronavirus coronavirus-tracking python python3 shell shell-script

Last synced: 2 months ago
JSON representation

A simple python script that can fetch covid 19 stats and send them to telegram, Based on Emanuel Ramirez's script.

Awesome Lists containing this project

README

          

# COVID-19 Stats





A simple python script that can fetch covid 19 stats from the virus tracker, Based on Emanuel Ramirez's script but a lot simpler and only for India.
There is another script that can send the stats fetched from the virus tracker to Telegram channels using a @BotFather bot.







# Dependencies
```
requests==2.23.0
```

# How to use
1. Clone the script
```
git clone https://github.com/LordShenron/Covid19_Stats covid-stats && cd covid-stats
```
2. Create a Telegram using @BotFather and add the HTTP_TOKEN to the corona.sh
3. Add the bot you created to any Telegram group or channel.
4. Add the username or userid of the channel or group to the corona.sh
5. Execute the scripts
```
chmod +x corona*
./corona.sh
```

# You can automate the execution of script, I will leave that to you.