/SARS2stats

SARS-2-COV stats

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

SARS-CoV-2 Stats

General info

  • API used here, providing data compiled by Johns Hopkins University.
  • App checks for updates every 10 minutes.
Api Response schema
```
{
"type": "object",
"properties": {
  "error": {
    "type": "boolean"
  },
  "statusCode": {
    "type": "integer"
  },
  "message": {
    "type": "string"
  },
  "data": {
    "type": "object",
    "properties": {
      "lastChecked": {
        "type": "string",
        "format": "date-time"
      },
      "covid19Stats": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "province": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "lastUpdate": {
              "type": "string",
              "format": "style"
            },
            "confirmed": {
              "type": "integer"
            },
            "deaths": {
              "type": "integer"
            },
            "recovered": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
}
```