hyperion-hyn / COVID-2019-DATA

COVID-19/2019-nCoV Infection Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID-19/2019-nCoV Infection Data

Project Intro

This is the data repository for the Hyperion Covid-19 Map Visual Dashboard operated by Hyperion MapChain. The map will demonstrate two source types of Covid-19 data. The choropleth map displays divided geographical areas or regions in various colors according to the official confirmed virus cases, while the POIs are contributed by global community.

Online web 👉 https://covid.hyn.space/

Priview

Data Sources

API

  • API 1: Get virus information in all countries

Request parameter description:

lang supports zh, en

$ curl -G https://covid.hyn.space/api/data/country/latest?lang=${lang}

Return results:

...
{
        "id": 965008,
        "area": "意大利",
        "key": "意大利",
        "newConfirmed": 2179,
        "newRecovered": 41,
        "newDead": 196,
        "totalConfirmed": 12462,
        "totalRecovered": 1045,
        "totalDead": 827,
        "hasSub": true
}
...

Description:

key can be used to API 2 and API 4

hasSub can be used to determine if there is a lower-level virus information

  • API 2: Get daily virus information, return results include daily added and cumulative total

Request parameter description:

lang supports zh, en

area can be set to the key value of API 1, e.g: area = 意大利

$ curl -G https://covid.hyn.space/api/data/country/daily/${area}?lang=${lang}
  • API 3:Get virus information in Nearby Areas

Request parameter description:

lat means longitude of selected area, e.g: lat= 23.1202

lon means latitude of the selected area, e.g: lon=113.3248

radius means radius of the selected area, e.g:radius=1000

$ curl -G -d 'lat=${lat}' -d 'lon=${lon}' -d 'radius=${radius}' https://covid.hyn.space/api/covid-collector/event/radius
  • API 4:Get an virus information in an urban area of a country

Request parameter description:

lang supports zh, en

country can be set to the key value of API 1, e.g: country = 意大利

$ curl -G -d 'lang=${lang}' -d 'country=${country}'  https://covid.hyn.space/api/data/province/latest

Terms of Use

This GitHub repo and its contents herein, including all data, mapping, and analysis, copyright Hyperion, all rights reserved, is provided to the public strictly for non-commercial purposes. The Website relies upon publicly available data from multiple sources, that do not always agree. Hyperion hereby disclaims any and all representations and warranties with respect to the Website, including accuracy, fitness for use, and merchantability. Any form of privacy breaches is not allowed.

About

COVID-19/2019-nCoV Infection Data


Languages

Language:JavaScript 96.0%Language:HTML 3.6%Language:CSS 0.4%