/coronavirus_api

An API providing various stats around the virus.

Primary LanguagePython

Coronavirus API

An API built using fastapi sourcing data from worldometer and updated every 15 minutes.

API docs

https://corona-api.nishit.xyz/docs

Stats

https://corona-api.nishit.xyz/stats

Country specific Data

https://corona-api.nishit.xyz/country/(country_code)

Example: https://corona-api.nishit.xyz/country/in

List of countries can be found here (mostly ISO 3166-1 alpha-2) stats api result

How to Self Host

To run this yourself, clone the repo and run

docker-compose up -d

Make sure docker and docker-compose are installed.