Giter VIP home page Giter VIP logo

covid19-turkey-api's Introduction

Covid19 Haftalık Vaka API

Build Status DeepScan grade

Ne İşe Yarıyor?

Sağlık Bakanlığı'nın günlük ve haftalık olarak yayınladığı verileri projelerinizde kullanmak istediğinizde, liste olarak JSON çıktı üreterek düzgün bir veri elde etmiş oluyorsunuz.

Kurulum

npm install
ya da
yarn install

Çalıştırma

node index.js

API

  • GET /weekly

    • Yanıt

    • {
        "message": "ok",
        "status": 200,
        "type": "weekly",
        "list": [
          {
            "city": "Adana",
            "covid_cases_by_one_hundred_k": 111.26,
            "population": 2258718,
            "cases": "2513"
          }
          ...
        ]
      }
  • GET /daily

    • Yanıt

    • {
        "message": "ok",
        "status": 200,
        "type": "total",
        "data": {
          "date: "7 Nisan 2021",
          "day": {
            "tests": 302108,
            "cases": 54740,
            "patients": 2203,
            "deads": 276,
            "healed": 35503
          },
          "week": {
            "pneumoniaRate": 3.1,
            "bedOccupancyRate": 55.7,
            "adultIntensiveRate": 66.5,
            "ventilatorRate": 33,
            "averageDetectionTime": 9,
            "fillationRate": 99.9
          },
          "total": {
            "tests": 40385250,
            "cases": 3633925,
            "deads": 32943,
            "seriousPatients": 2604,
            "healed": 3194978
          }
        }
      }

Demo

covid19-turkey-api's People

Contributors

buraksakalli avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.