DEV Community

loading...

Covid-19 API

avirankatzsofi profile image avirankatzsofi ・1 min read

Hey guys, I made a tiny API that saves an hourly snapshot of the covid-19 status of every country (starting the evening of 03/17), based on this project's rest API.

I don't have a specific use for it yet, but I thought that it might be useful for the people among you who are developing corona related side projects.

So feel free to use it. Feel free to suggest uses for other people if you have any ideas. Feel free to ask me to expand the API if there's any unanswered need.

Currently the only endpoint is for by-country sampling:
http://covid19.soficoop.com/country/{countryCode}
(e.g. http://covid19.soficoop.com/country/us)

I'm also attaching a link to the repo:

That's it. I'd love to hear your thoughts.
Stay safe!

Discussion (6)

pic
Editor guide
Collapse
roqak profile image
Akinkunmi Olunloye

Thanks, I built a simple telegram bot with your API t.me/Covid_one_nine_bot

Collapse
avirankatzsofi profile image
avirankatzsofi Author

That's great! Thank you for sharing :)

Collapse
pavermakov profile image
Pavel Ermakov

Thank you!

Collapse
meir profile image
Meir Roth

Thanks!
using it in my project :)
coronaisrael.live/

Is there a way to get info for all countries in one call like this for example? covid19.soficoop.com/all
or world total stats?

Collapse
avirankatzsofi profile image
avirankatzsofi Author

Loved your project!
Currently not, but I can implement something, will keep you informed

Collapse
porkopek profile image
Porkopek

Thank you!