These days everyone wants to get information about coronavirus. It's really on top. Everyone wants to know the evolution of the situation. As it very hard every time to open the browser and look for the website to get informed, I thought it can be helpful to build a bot that can help the user to get corona information.
I have two version of this app
- Install telegram app in your divice (mobile phone, descktop or tablette) to run the bot
- Get ruby latest version installed (To use test the code in your environment)
visite this site telegram
-
Information comes from worldometers
-
After I made the scraper file where I put all the information in one array.
An example is here
-
To implement the bot find more information here
- After installing the app in your divice, in the search bar type @covidis_info_bot and click on the bot named covid-19
- Click on the start button and follow the instractions of the bot.
Check this video for more details
- Clone the repository in your computer
- cd in the ruby_capston_project directory
- run gem install
- cd in bin directory, run ruby main.rb
To test type a country name and the result will be desplayed.
Contributions, issues and feature requests are welcome!
Feel free to check the issues page
- you will find comment lines at the end of the project, just uncomment them
- run the file using "ruby filename" command
👤 Theophile Kango
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
Give a ⭐️ if you like this project!
- Big thanks to Oscar Mier, Manezeu Patricia and Tirthajyoti Ghosh they helped me to make this project
- Inspiration
- etc
- Microverse