Skip to content

Tangerino/corona

Repository files navigation

corona

COVID-19 Web Service

this service is down now

A simple web service, written in Python. Basically it reads this web page (https://www.worldometers.info/coronavirus/) parse it and shares the information as a web service.

This software is free, do whatever you want with it. I'm not responsable for anything :)

No further documentation is planned, sorry.

The project is somehow tiny.

An active service will run until the crisis ends at:

http://covid.tangerino.me:26666/[country_name]

Example:

curl http://robot.tangerino.me:26666/covid/france/

The service will return a JSON payload like this

{
  "status": "ok",
  "covid": {
    "country": "france",
    "total_cases": 14459,
    "new_cases": 0,
    "total_deaths": 562,
    "new_deaths": 0,
    "total_recovered": 1587,
    "active_cases": 12310,
    "serious_critical": 1525
  }
}

If you like it, send me a note and strt this repository so I know you were here. Stay save

Enjoy

About

COVID-19 Web Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages