amazingshellyyy/covid19-api

Expand the utility

amazingandyyy opened this issue · 1 comments

TL;DR;

Suggest to rename the repo name and change data path under docs to follow ISO standard.

1. Rename repo name to covid19-data

2. Change path under docs

The structure can be formatted to be

https://amazingshellyyy.com/covid19-data/<country-code>-<subdivisions-code>/<data-type>.json

Specifications

< country-code>

< subdivisions-code>

< data-type>

  • can be timeseries or current, can be expanded

Here is the example, to get time-series data of each county of California of US, the endpoint is

https://amazingshellyyy.com/covid19-data/US-CA/counties/timeseries.json

Another example, to get current data of each city of Taipei of Taiwan, the endpoint is

https://amazingshellyyy.com/covid19-data/TW-TPE/counties/current.json