Skip to content

rlindskog/covid19-graphql

Repository files navigation

Covid19 GraphQL API

https://covid19-graphql.now.sh

Deploy with ZEIT Now

Data is pulled directly from https://github.com/pomber/covid19, which is a JSON representation of https://github.com/CSSEGISandData/COVID-19. All data is up to date.

Example query

query {
  # time series data
  results (countries: ["US", "Canada"], date: { lt: "3/10/2020" }) {
    country {
      name
    }
    date
    confirmed
    deaths
    recovered
    growthRate
  }

  # by country
  country(name: "US") {
    name
    mostRecent {
      date(format: "yyyy-MM-dd")
      confirmed
    }
  }
}

Zeit verified open source: https://covid19-graphql.now.sh/_src

Projects using this API

  • I am Covid -19 🦠 (repo) - Visualization of the covid-19 dataset using Nuxtjs(vuejs), Graphql and valuable information about geeting through the Covid-19 pandemic.
  • covid19-bot (repo) - Chat bot for showing information about the Covid-19 pandemic.
  • Covid-19 Pandemic Status (repo) - A simple tool to track global progress in defeating Covid-19, by focusing on the rate of change in death count globally and classifying countries by associated status.
  • covid-19 (repo) - Simple app made with React, Nivo charts and GSAP.

Add yours +

License

MIT Licensed. PRs welcome! :)

Releases

No releases published

Packages

No packages published