Git Product home page Git Product logo

covid19-rader-for-japan-api's Introduction

COVID-19 Rader for Japan Web API

🦠 Web API to get COVID-19(coronavirus) information of each prefecture in Japan

Features

  • 🔁 Update data every 2 hours
  • 🚀 Provide REST API
  • 🇯🇵 Get info of each prefecture in Japan

Project using this API

if your project is not listed here,let us know!

Covid19-rader-for-japan

https://covid19-rader-for-japan.com

Usage

Patients Data

Endpont: https://covid19-rader-for-japan.appspot.com/api/v1/patients

$ curl https://covid19-rader-for-japan.appspot.com/api/v1/patients

Response:

[
    {
        "id":"ID01001",
        "date":"2020/01/28",
        "prefecture":"北海道",
        "residence":"国外(武漢市)",
        "age":"40代",
        "sex":"女性",
        "attribute":"来日観光客",
        "prefecture_number":"北海道1",
        "travel_or_contact":"渡航歴",
        "detail":"**(武漢)",
        "src":"https://www.mhlw.go.jp/stf/newpage_09158.html",
        "onset":"2020/01/26",
        "symptom":"1",
        "death_or_discharge_date":"",
        "comment1":"",
        "comment2":"",
        "outcome":"",
        "outcome_src":""},{"id":"ID01002",
    },
    {
        "date":"2020/02/14",
        "prefecture":"北海道",
        "residence":"札幌市",
        "age":"50代",
        "sex":"男性",
        "attribute":"来日観光客",
        "prefecture_number":"北海道2",
        "travel_or_contact":"",
        "detail":"",
        "src":"http://www.pref.hokkaido.lg.jp/hf/kth/kak/hasseijoukyou.htm",
        "onset":"2020/01/31",
        "symptom":"1",
        "death_or_discharge_date":"",
        "comment1":"",
        "comment2":"",
        "outcome":"",
        "outcome_src":""
    },
...

Prefecture Data

Endpont: https://covid19-rader-for-japan.appspot.com/api/v1/prefectures

$ curl https://covid19-rader-for-japan.appspot.com/api/v1/prefectures

Response:

[
  {
    "id": 1,
    "name_ja": "北海道",
    "name_en": "Hokkaido",
    "regions": "0", 
    "lat": "43.46722222",
    "lng": "142.8277778",
  },
  {
    "id": 2,
    "name_ja": "青森",
    "name_en": "Aomori",
    "regions": "1", 
    "lat": "40.78027778",
    "lng": "140.83194440000003",
  },
  ...
]

Statistics

Endpont: https://covid19-rader-for-japan.appspot.com/api/v1/stats

$ curl https://covid19-rader-for-japan.appspot.com/api/v1/stats

Response:

[
    {
        "date":"20200319",
        "prefecture":"北海道",
        "cases":0,
        "total_cases":153,
        "hospital":0,
        "total_hospitals":77,
        "discharge":0,
        "total_discharges":69,
        "deaths":0,
        "total_deaths":7,
        "sex_data":{
            "female":0,
            "male":0,
            "unknown":0
        },
        "total_sex_data":{
            "female":0,
            "male":0,
            "unknown":0
        },
        "age_data":{
            "age_10":0,
            "age_20":0,
            "age_30":0,
            "age_40":0,
            "age_50":0,
            "age_60":0,
            "age_70":0,
            "age_80":0,
            "age_90":0,
            "age_unknown":0
        },
        "total_age_data":{
            "age_10":0,
            "age_20":0,
            "age_30":0,
            "age_40":0,
            "age_50":0,
            "age_60":0,
            "age_70":0,
            "age_80":0,
            "age_90":0,
            "age_unknown":0
        }
    },
    {
        "date":"20200319",
        "prefecture":"愛知県",
        "cases":0,
        "total_cases":123,
        "hospital":0,
        "total_hospitals":106,
        "discharge":0,
        "total_discharges":3,
        "deaths":0,
        "total_deaths":14,
        "sex_data":{
            "female":0,
            "male":0,
            "unknown":0
        },
        "total_sex_data":{
            "female":0,
            "male":0,
            "unknown":0
        },
        "age_data":{
            "age_10":0,
            "age_20":0,
            "age_30":0,
            "age_40":0,
            "age_50":0,
            "age_60":0,
            "age_70":0,
            "age_80":0,
            "age_90":0,
            "age_unknown":0
        },
        "total_age_data":{
            "age_10":0,
            "age_20":0,
            "age_30":0,
            "age_40":0,
            "age_50":0,
            "age_60":0,
            "age_70":0,
            "age_80":0,
            "age_90":0,
            "age_unknown":0
        }
    }

...

Data Sources

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.