9 points · by pravins · 6y ago · 1 comment
The API fetches the latest number of confirmed cases, recoveries and deaths from a public Google Sheet published by the team at the Center for Systems Science and Engineering (CSSE) at John Hopkins University, and returns both the raw regional breakouts as well as summary stats in JSON format. It also caches the data for up to 5 minutes to improve performance.
To use the API just make an HTTP request to https://coronavirus.m.pipedream.net/.
The source code is as at https://pipedream.com/@pravin/http-api-for-latest-wuhan-coro...
You can learn more here: https://dev.to/pipedream/http-api-for-latest-wuhan-coronavir...