Inspiration

During COVID-19, it's hard to find information about COVID-19 quickly and efficiently. However, with the COOLVID-19 BOT, you no longer have to worry about that at all.

What it does

The bot takes real time data from multiple different APIs and sources, and gets the best data for you. The bot can teach you how to stop the spread of COVID-19, tell you a fact about COVID-19, find COVID-19 data based on your location, find COVID-19 data based on a specific country, specific COVID-19 data of the entire world, and show you the most important or popular news stories on COVID-19.

How I built it

I made a discord bot using discord.py and heroku, and I queried from multiple APIs including Google APIs(sheets API, drive API, maps API), geocaching APIs(radar.io, geo.js, IPinfo, geonames), news APIs, covid19 APIs (covid19PY), wolfram alpha’s API, and web scrapers like python’s scrapy to get and compile data. I compiled, analyzed, and checked the data to make sure that it was accurate, then sent it to the user. I stored the info in a sheets/csv or json format.

Challenges I ran into

I had trouble getting some of the APIs to work, and it was difficult to parse the JSON files, but I thankfully I figured it out.

Accomplishments that I'm proud of

The bot worked really well, and there were no errors. Also, it worked relatively fast even with a bunch of API calls.

What I learned

I learned how to use APIs really quickly, how to do real time updating and querying, efficient data analysis, and how to get things done efficiently in very little time.

What's next for COOLVID-19 BOT

In the future, I could develop this bot into a website/API framework, add more functions, focus on efficiency and runtime as well as UI, and make it even cooler than it already is!

Share this project:

Updates