mathdroid / covid-19-api

COVID-19 global data (from JHU CSSE for now) as-a-service
https://covid19.mathdro.id
1.36k stars 283 forks source link

Last 24 hours? #9

Open saifalfalah opened 4 years ago

saifalfalah commented 4 years ago

Is it possible to get just the new confirmed cases in the last 24 hours in each country?

It will help in tracking which country is successfully flattening the spread of the virus and controlling it.

mathdroid commented 4 years ago

In each country, no. But you can get the global 24 hours data in /api/daily/[date] and then manually filtering 🙏 @saifalfalah

mathdroid commented 4 years ago

I'm taking a look at this, but PRs are welcome for this

rajanmagar commented 4 years ago

Hey @mathdroid, First of all, nice job. There are some countries for which api doesn't have any cases. Did you resolve that?

k1m0ch1 commented 4 years ago

Hey @mathdroid, First of all, nice job. There are some countries for which api doesn't have any cases. Did you resolve that?

@rajanmagar can you tell us more about this? how you reproduce this bug?