coronavirus-tracker-api
coronavirus-tracker-api copied to clipboard
World Timeline
With V2 endpoint now can get per country timeline, which is very good, thanks! but is it possible to get timeline for the World? It will be very useful for plotting a World graph in frontend, thanks!
Agreed.
It's possible to create a plot of world graph with current version of API. you have to merge all timelines together to build your own world timelines. it takes a little bit of unnecessary work but, still, its possible. I used this approach in this commit: https://github.com/itsamirrezah/COVID-19/commit/96531890262ff90b80dd4e3a02a96d74ee23044f#diff-887d82a275c962af219a78e71a23411aR126
The major problem with this approach is that it takes a lot of time to get data from/v2/locations?timelines=true, related to #104 It would be much nicer if API supported world timelines.