GithubHelp home page GithubHelp logo

massimiliano76 / covid-19-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mathdroid/covid-19-api

0.0 0.0 0.0 804 KB

COVID-19 global data (from JHU CSSE for now) as-a-service

Home Page: https://covid19.mathdro.id

TypeScript 97.15% HTML 1.01% JavaScript 1.84%

covid-19-api's Introduction

COVID-19 API

Serving data from John Hopkins University CSSE as a JSON API

Deploy with ZEIT Now

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

  1. Clone

    git clone --depth=1 https://github.com/mathdroid/covid-19-api
  2. Install deps (yarn, npm install)

  3. Install and register to ZEIT Now if you haven't. This project is exclusively made for the platform.

  4. now dev to run a local dev deployment, now to publish.

Showcase

License

MIT License 2020, mathdroid.

Transitively from the John Hopkins Site, the data may not be used for commercial purposes.

covid-19-api's People

Contributors

abdullahchauhan avatar akashrajum7 avatar anthlubic avatar bilafish avatar dabigjoe6 avatar dependabot-preview[bot] avatar dhaiwat10 avatar dynamicbalaji avatar flborrelli avatar freakyfelt avatar hamaar avatar hoaaah avatar ihsaninh avatar iyci avatar johanneshaberlah avatar juanitourquiza avatar k1m0ch1 avatar kasramp avatar markanthonyuy avatar mastersam07 avatar mathdroid avatar maxmaxinechen avatar melvinalmonte avatar micahmones avatar mmikhan avatar mzaini30 avatar ndom91 avatar princerafid01 avatar satyawikananda avatar yogasakti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.