DEV Community

Javier Aviles
Javier Aviles

Posted on

Coronavirus API rest + example frontend

Top comments (9)

Collapse
 
javieraviles profile image
Javier Aviles
Collapse
 
kousikthedev profile image
Kousik Mandal

I just wanted to know from where you are collecting the data? Is there any possibility to get statewise data for India?

Collapse
 
javieraviles profile image
Javier Aviles

not from worldometers at the moment (im collecting info from there). Still the cases im reporting come from sources region-specific

visualizer - covid19india.org/

its google docs db - docs.google.com/spreadsheets/d/e/2...

goverment of india reporting - mohfw.gov.in/index.html

Collapse
 
ekafyi profile image
Eka

Awesome, thank you! Any chance of adding historical endpoint like corona.lmao.ninja/v2/historical?

Collapse
 
javieraviles profile image
Javier Aviles

will try to get some time this afternoon and add it, maybe something to my UI too :)

Collapse
 
kapitannwel profile image
kapitan

are you really the one who created the api below?

coronavirus-19-api.herokuapp.com

where did the data came from?

thank you very much in advance!

Collapse
 
javieraviles profile image
Javier Aviles

data comes from worldometers, and yes, you can see the code at github and Heroku autodeployment in the actions pipeline!

Collapse
 
santiagob20 profile image
Santiago Barrera

Have you detected in some cases the API doesn´t work for a few minutes? Is this normal? Past 2 or 3 minutes, it works again

Collapse
 
javieraviles profile image
Javier Aviles

is the downtime when deploying a new release, but should not happen more than once or twice a week!