Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 550 Bytes

File metadata and controls

37 lines (25 loc) · 550 Bytes

Episodes API Python

The is the Episodes API. For authenticated requests the api will return a list of episodes from Game of Thrones.

Install

▶ pip install -r requirements.txt 

Test

    ▶ pytest

Run

Config

Expects the following environment variables to execute properly

export PYTHON_ENV=production
export TENANT_ID=""
export PORT=3100

Source environments

source "$CFG_ENV_FILE_DIRECTORY/<your_episodes_env_file>"

Run with main.py

▶ cd src
▶ ./main.py