nat236919 / covid19-api

API for exploring COVID-19 cases around the globe
https://nuttaphat.com/covid19-api/
MIT License
119 stars 63 forks source link
api coronavirus coronavirus-tracking covid-19 covid19 hacktoberfest python

API for exploring covid-19 cases around the globe powered by FastAPI framework

issues forks starts licence build

Introduction

This API provides the information regarding '2019 Novel Coronavirus (covid-19)'. It contains a number of confirmed, death, and recovered cases based on the data provided by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE).

Example

Applications

Reference

Branches

Branch Feature Description
master Docker + Web API For deploying to a server
development Docker + Web API For testing before merging to Master

Features

  1. The current data (daily updated)
  2. Confirmed, Deaths, Recovered
  3. The affected countries
  4. Individual affected country
  5. Timeseries

How to Start a Server

uvicorn main:app

How to install (Docker-compose)

docker-compose up
docker-compose up -d
version: "3"
services:
  web:
    container_name: "covid19_api_web_container"
    volumes:
      - ./app:/app
    ports:
      - "80:80"
    environment:
      - "RUN=uvicorn main:app"

How to install (from Dockerhub)

docker pull nat236919/covid19-api:latest
docker run nat236919/covid19-api

How to use API (v2)

Check it out here

How to use API (v1)

Check it out here

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Nuttaphat Arunoprayoch

🚧 πŸ’» πŸ› πŸ“– πŸ‘€

Sophia Castellarin

πŸ’»

Jeremy

πŸ’»

Tim

🌍

melsaa

πŸ’»

owen-duncan-snobel

πŸ’» πŸ“– πŸ’΅

Maria Sitkovets

πŸ’»

Ali Raeisdanaei

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Sponsor this project

Buy Me A Coffee