{"id":26763921,"url":"https://github.com/conermurphy/covid-19-graphql-api","last_synced_at":"2025-03-28T19:35:32.410Z","repository":{"id":44824563,"uuid":"258324401","full_name":"conermurphy/covid-19-graphql-api","owner":"conermurphy","description":"A GraphQL based API to query data relating to the COVID-19 pandemic.","archived":false,"fork":false,"pushed_at":"2022-12-12T15:27:35.000Z","size":146005,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-12T18:43:17.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conermurphy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-23T20:36:59.000Z","updated_at":"2021-09-04T05:15:44.000Z","dependencies_parsed_at":"2023-01-27T21:31:32.245Z","dependency_job_id":null,"html_url":"https://github.com/conermurphy/covid-19-graphql-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conermurphy%2Fcovid-19-graphql-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conermurphy%2Fcovid-19-graphql-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conermurphy%2Fcovid-19-graphql-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conermurphy%2Fcovid-19-graphql-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conermurphy","download_url":"https://codeload.github.com/conermurphy/covid-19-graphql-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246089158,"owners_count":20721821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-28T19:35:30.363Z","updated_at":"2025-03-28T19:35:32.403Z","avatar_url":"https://github.com/conermurphy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COVID-19 GraphQL API\nA GraphQL API to allow for the querying of data relating to the COVID-19 pandemic. Data is based off the [Johns Hopkins CSSE 2019 Novel Coronavirus COVID-19 (2019-nCoV) Data Repository](https://github.com/CSSEGISandData/COVID-19).\n\n## Technologies used:\n- GraphQL\n- NodeJS\n- Apollo Server\n- Netlify\n\n## How to use:\n\nThe API is now live and can be used @ https://covid-19-graphql-api.herokuapp.com/\n\n### Queries:\n\nCurrently you can query for the below:\n\n- All Countries / Territories dead, recovered and confirmed case numbers. \n- Individual Country / Territory dead, recovered and confirmed case numbers.\n\nBelow is an example query for both:\n\n**All:**\n\n```\nquery {\n  getTimeSeriesAll {\n    uniqueId\n    dead\n    confirmed\n    recovered\n  }\n}\n```\n\n**Individual:**\n\n```\nquery {\n  getTimeSeries(uniqueId: \"United-Kingdom\") {\n    dead\n    recovered\n    confirmed\n  }\n}\n```\n\nTo query for an individual country / territory you will need to find their uniqueId, which is made up of the territory and country name. For example:\n\n```\n\"uniqueId\": \"Gibraltar-United-Kingdom\"\n\"uniqueId\": \"United-Kingdom\"\n```\n\nIf you want to get a full list of uniqueId's you can run:\n\n```\nquery {\n  getTimeSeriesAll {\n    uniqueId\n  }\n}\n```\n\n## Contributing\n\nI am happy for people to contribute to the project, if you see a better way of doing something or just have an idea, raise a PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconermurphy%2Fcovid-19-graphql-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconermurphy%2Fcovid-19-graphql-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconermurphy%2Fcovid-19-graphql-api/lists"}