~michalr/telegram-covid-bot

Simple Telegram bot that takes the data from JHU CSSE COVID-19 repo and sends it to a Telegram channel or group
Removed mention of covid19api from README
Error message in case of a country missing from the data

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~michalr/telegram-covid-bot
read/write
git@git.sr.ht:~michalr/telegram-covid-bot

You can also use your local clone with git send-email.

#Coronavirus stats bot for Telegram

Simple Ruby bot for fetching the data from JHU CSSE COVID-19 Repo and pushing to a specified Telegram group or channel.

Stores previous data in previous.json for comparison and to ignore the data that has not changed.

Build status: builds.sr.ht status

#Configuration

Check out the supplied config.example.yml for the configuration file format.

What you'll need:

  • A country code of the country you're interested in,
  • Telegram bot API Key, to be obtained on Telegram using the @BotFather bot,
  • A group or a channel where the messages will be posted

#Running

ruby bot.rb path/to/config.yml path/to/previous.json