mirror of
https://github.com/danbulant/covid
synced 2026-05-19 12:02:52 +00:00
584 B
584 B
Documentation
Requirements
- NodeJS, tested on v12 and v13
- CURL (As other ways didn't work when testing)
Setting it up
- Clone (either using git or hub) this repository
- Install dependencies (
npm i) - Fetch data (Must be done at least once, but a cron is suggested)
- Run it! (
npm start)
Format
Every response is in JSON and contains at least these fields:
code- HTTP status codetype- Type of response, see typesdata- Might be missing, depends oftype.
Endpoints
For list of endpoints, see ENDPOINTS.md