aregee / covid19-graphql

COVID-19 GraphQL API

Home Page:https://covid19-graphql.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CovidTracker GraphQL API

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
    }
  }
}

Projects using this API

Add yours +

License

MIT Licensed. PRs welcome! :)

About

COVID-19 GraphQL API

https://covid19-graphql.now.sh/

License:MIT License


Languages

Language:TypeScript 71.6%Language:JavaScript 28.4%