covid-19-api
covid-19-api copied to clipboard
Add method for daily cases by country, by date
Suggested form: /api/countries/[country]/daily/[date]
Alternatively: /api/daily/[date]/countries/[country]
Please. Thanks for your work!
+1 on this
I'm hoping for this as well. ☺
In the meantime, here's a way (Python script) for getting the country-by-date data. I iterate through each day, and add the reports for each region in a country. It saves the data locally. I've only tested it for the US and China. In the case of China, there was a change on the API (countryRegion went from "Mainland China" to "China" so double-check that there aren't similar hiccups for the country you're interested in.