SkillAgentSearch skills...

Covid19

This API provides updated real-time data on coronavirus cases from the worldometers page, provided by the most reputable organizations and statistical offices in the world.

Install / Use

/learn @chrismichaelps/Covid19

README

<p align="center"> <img src="./assets/img/logo.png" width="50%" alt="COVID19 API" /> </p> <p align="center">This API provides updated real-time data on coronavirus cases from the worldometers page and other important websites, provided by the most reputable organizations and statistical offices in the world.</p> <p align="center"> <img src="https://img.shields.io/badge/node->=10.16.x-brightgreen.svg"/> <img src="https://img.shields.io/badge/npm->=6.9.x-brightgreen.svg"/> <img alt="Maintenance" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" /> <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /> <img src="https://img.shields.io/badge/COVID19-API-brightgreen.svg" alt=""> <img src="https://badgen.net/badge/icon/now?icon=now&label" alt=""> <img src="https://travis-ci.com/chrismichaelps/covid19.svg?branch=master"/> <p align="center"> <a href="https://nodei.co/npm/covid19-api/"><img src="https://nodei.co/npm/covid19-api.png"></a> </p> </p>

🚨 Important Announcement 🚨

Several months the vercel team contacted me in relation to the fact that they could no longer support me with the API URL, due to the high volume of traffic (this represented a high cost for them).

I still thank the team for the support during the time they supported the API.

API URL

  • [x] Not available

🚀 COVID19 API Documentation

  • [x] Not available

📝 Brief Information on COVID19

How dangerous is the virus? There are three parameters to understand in order to assess the magnitude of the risk posed by this novel coronavirus:

How contagious is the COVID19? (Ro) The attack rate or transmissibility (how rapidly the disease spreads) of a virus is indicated by its reproductive number (Ro, pronounced R-nought or r-zero), which represents the average number of people to which a single infected person will transmit the virus.

  • [x] WHO's estimated (on Jan. 23) Ro to be between 1.4 and 2.5.
  • [x] Other studies have estimated a Ro between 3.6 and 4.0, and between 2.24 to 3.58.
  • [x] Preliminary studies had estimated Ro to be between 1.5 and 3.5.
  • [x] An outbreak with a reproductive number of below 1 will gradually disappear.
  • [x] For comparison, the Ro for the common flu is 1.3 and for SARS it was 2.0.

Fatality Rate (case fatality ratio or CFR) of the COVID19 See full details: COVID19 Fatality Rate

The novel coronavirus' case fatality rate has been estimated at around 2%, in the WHO press conference held on January 29, 2020 . However, it noted that, without knowing how many were infected, it was too early to be able to put a percentage on the mortality rate figure.

  • [x] A prior estimate had put that number at 3%.
  • [x] Fatality rate can change as a virus can mutate, according to epidemiologists.
  • [x] For comparison, the case fatality rate for SARS was 10%, and for MERS 34%.

Incubation Period (how long it takes for symptoms to appear) See full details: COVID-19 Coronavirus Incubation Period

Symptoms of the novel coronavirus (2019-nCoV) may appear in as few as 2 days or as long as 14 (estimated ranges vary from 2-10 days, 2-14 days, and 10-14 days, see details), during which the virus is contagious but the patient does not display any symptom (asymptomatic transmission).

🎉 COVID19 API - UPDATED v1.2.1

  • [x] Fixed a bug related to the getDeaths() function, this because now the worldometers website data had to be parsed directly from the table element.

  • [x] Cases detected by the states, regions, or Communities of each country. For future updates this list may increase. List updated today 04/19/2020

    • PluginManager.getGermanyCasesByRegion()
    • PluginManager.getSwedenCasesByRegion()
    • PluginManager.getSlovakiaCasesByDistrict()
    • PluginManager.getPortugalCasesByRegion()
    • PluginManager.getPolandCasesByRegion()
    • PluginManager.getPalestineCasesByRegion()
    • PluginManager.getNorwayCasesByRegion()
    • PluginManager.getBrazilCasesByRegion()
    • PluginManager.getAlgeriaCasesByRegion()
  • [x] Data Provided by ICNL The International Center for Not-for-Profit Law

    • COVID-19 Civic Freedom Tracker
    • PluginManager.getCivicFreedomTracker()

📖 API Documentation

PluginManager.getReports()

Confirmed Cases and Deaths(GLOBAL)

[
  [
    {
      "cases": 737373,
      "deaths": 898546,
      "recovered": 76618,
      "active_cases": [
        {
          "currently_infected_patients": -237791,
          "inMidCondition": -243712,
          "criticalStates": 5921
        }
      ],
      "closed_cases": [
        {
          "cases_which_had_an_outcome": 975164,
          "recovered": 76618,
          "deaths": 898546
        }
      ],
      "table": [
        [
          {
            "Country,Other": "China",
            "TotalCases": "80,851",
            "NewCases": "+7",
            "TotalDeaths": "3,199",
            "NewDeaths": "",
            "TotalRecovered": "66,934",
            "ActiveCases": "10,718",
            "Serious,Critical": "3,226",
            "Tot Cases/1M pop": "56.2"
          },
          {
            "Country,Other": "Vatican City",
            "TotalCases": "568,000",
            "NewCases": "+567,999",
            "TotalDeaths": "892,045",
            "NewDeaths": "+892,045",
            "TotalRecovered": "",
            "ActiveCases": "-324,045",
            "Serious,Critical": "",
            "Tot Cases/1M pop": ""
          },
          {
            "Country,Other": "Italy",
            "TotalCases": "24,747",
            "NewCases": "+3,590",
            "TotalDeaths": "1,809",
            "NewDeaths": "+368",
            "TotalRecovered": "2,335",
            "ActiveCases": "20,603",
            "Serious,Critical": "1,672",
            "Tot Cases/1M pop": "409.3"
          },
          {
            "Country,Other": "Iran",
            "TotalCases": "13,938",
            "NewCases": "+1,209",
            "TotalDeaths": "724",
            "NewDeaths": "+113",
            "TotalRecovered": "4,590",
            "ActiveCases": "8,624",
            "Serious,Critical": "",
            "Tot Cases/1M pop": "165.9"
          },
          {
            "Country,Other": "S. Korea",
            "TotalCases": "8,162",
            "NewCases": "+76",
            "TotalDeaths": "75",
            "NewDeaths": "+3",
            "TotalRecovered": "834",
            "ActiveCases": "7,253",
            "Serious,Critical": "59",
            "Tot Cases/1M pop": "159.2"
          },
          {
            "Country,Other": "Spain",
            "TotalCases": "7,845",
            "NewCases": "+1,454",
            "TotalDeaths": "292",
            "NewDeaths": "+96",
            "TotalRecovered": "517",
            "ActiveCases": "7,036",
            "Serious,Critical": "272",
            "Tot Cases/1M pop": "167.8"
          },
          {
            "Country,Other": "Germany",
            "TotalCases": "5,813",
            "NewCases": "+1,214",
            "TotalDeaths": "11",
            "NewDeaths": "+2",
            "TotalRecovered": "46",
            "ActiveCases": "5,756",
            "Serious,Critical": "2",
            "Tot Cases/1M pop": "69.4"
          },
          {
            "Country,Other": "France",
            "TotalCases": "5,423",
            "NewCases": "+924",
            "TotalDeaths": "127",
            "NewDeaths": "+36",
            "TotalRecovered": "12",
            "ActiveCases": "5,284",
            "Serious,Critical": "400",
            "Tot Cases/1M pop": "83.1"
          },
          {
            "Country,Other": "USA",
            "TotalCases": "3,680",
            "NewCases": "+737",
            "TotalDeaths": "68",
            "NewDeaths": "+11",
            "TotalRecovered": "59",
            "ActiveCases": "3,553",
            "Serious,Critical": "10",
            "Tot Cases/1M pop": "11.1"
          },
          // .....
        ]
      ]
    }
  ]
]

PluginManager.getReportsByCountries([country])

Confirmed Cases and Deaths by Country

Table List (params) Last update: 04/4/2020

| Countries | | ------------- | |afghanistan, albania, algeria, andorra, angola, anguilla, antigua-and-barbuda, argentina, armenia, aruba, australia, austria, azerbaijan| |bahamas, bahrain, bangladesh, barbados, belarus, belgium, belize, benin, bermuda, bhutan, bolivia, bosnia-and-herzegovina, botswana, brazil, british-virgin-islands, brunei-darussalam, bulgaria, burkina-faso, burundi| |cabo-verde, cambodia, cameroon, canada, caribbean-netherlands, cayman-islands, central-african-republic, chad, channel-islands, chile, china, china-hong-kong-sar, china-macao-sar, colombia, congo, costa-rica, cote-d-ivoire, croatia, cuba, curacao, cyprus, czech-republic| |democratic-republic-of-the-congo, denmark, djibouti, dominica, dominican-republic| |ecuador, egypt, el-salvador, equatorial-guinea, eritrea, estonia, ethiopia| |faeroe-islands, falkland-islands-malvinas, fiji, finland, france, french-guiana, french-polynesia| |gabon, gambia, georgia, germany, ghana, gibraltar, greece, greenland, grenada, guadeloupe, guatemala, guinea, guinea-bissau, guyana| |haiti, holy-see, honduras, hungary| |iceland, india, indonesia, iran, iraq, ireland, isle-of-man, israel, italy| |jamaica

Related Skills

View on GitHub
GitHub Stars76
CategoryDevelopment
Updated1mo ago
Forks18

Languages

JavaScript

Security Score

100/100

Audited on Feb 22, 2026

No findings