项目作者: ykursadkaya

项目描述 :
COVID-19 Turkey API
高级语言: Python
项目地址: git://github.com/ykursadkaya/covid19-turkey-api.git
创建时间: 2020-09-04T00:09:27Z
项目社区:https://github.com/ykursadkaya/covid19-turkey-api

开源协议:

下载


COVID-19 Turkey Statistics API

Provides information about COVID-19 in Turkey.

Setup

Run on a Docker container

  1. Clone this repository

    1. git clone https://github.com/ykursadkaya/covid19-turkey-api.git
    2. cd covid19-turkey-api
  2. Build Docker image

    1. docker build -t covidapi .
  3. Run container

    1. docker run -p <external-port>:5000 --name <container-name> covidapi

Run directly on your machine

  1. Install Python 3.8.x or later (script has walrus assignment)

    Python Download Page

  2. Install pip for Python3

    pip installation guide

  3. Clone this repository

    1. git clone https://github.com/ykursadkaya/covid19-turkey-api.git
    2. cd covid19-turkey-api
  4. Install required Python packages

    1. pip3 install -r requirements.txt
  5. Run script

    1. python3 app.py

API Documentation