mathdroid/covid-19-api
COVID-19 global data (from JHU CSSE for now) as-a-service
repo name | mathdroid/covid-19-api |
repo link | https://github.com/mathdroid/covid-19-api |
homepage | https://covid19.mathdro.id |
language | TypeScript |
size (curr.) | 284 kB |
stars (curr.) | 363 |
created | 2020-03-03 |
license | |
COVID-19 API
Serving data from John Hopkins University CSSE as a JSON API
Routes
-
/: contains opengraph image for sharing
-
/api: global summary
-
/api/og: generate a summary open graph image
-
/api/confirmed: global cases per region sorted by confirmed cases
-
/api/recovered: global cases per region sorted by recovered cases
-
/api/deaths: global cases per region sorted by death toll
-
/api/daily: global cases per day
-
/api/daily/[date]: detail of updates in a [date] (e.g. /api/daily/2-14-2020)
-
/api/countries: all countries and their ISO codes
-
/api/countries/[country]: a [country] summary (e.g. /api/countries/Indonesia or /api/countries/USA or /api/countries/CN)
-
/api/countries/[country]/confirmed: a [country] cases per region sorted by confirmed cases
-
/api/countries/[country]/recovered: a [country] cases per region sorted by recovered cases
-
/api/countries/[country]/deaths: a [country] cases per region sorted by death toll
-
/api/countries/[country]/og: generate a summary open graph image for a [country]
Usage
-
Clone
-
Install deps (
yarn
,npm install
) -
Install and register to ZEIT Now if you haven’t. This project is exclusively made for the platform.
-
now dev
to run a local dev deployment,now
to publish.
Showcase
-
17 responsible live visualizations about the coronavirus, for you to use, (Web) by Datawrapper
-
Android kotlin-mvvm-covid19, (Android) by Rizki Maulana
-
https://github.com/andreyyoshua/Covid-19, (iOS) by Andrey Yoshua
-
https://github.com/pararang/vue-covid, (VueJS) by Muhammad Ikhsan
-
https://github.com/pooladkhay/covid19, (React, NextJS) by Mohammad Javad Pooladkhay
-
https://github.com/alancampora/corona-virus-react, (React) by Alan Adrian Campora
-
https://github.com/alankilalank/react-covid-19, (React, CRA) by Alank Ilalank
-
https://github.com/pabloVinicius/covid-19-dashboard https://covid19.data.eti.br/, (Web) by Pablo Vinicius
License
MIT License 2020, mathdroid.
Transitively from the John Hopkins Site, the data may not be used for commercial purposes.