abdesslem / Streamers

A simple rest API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamers API

A simple streamers rest API

Install requirements

python3 -m pip install pipenv --user
pipenv install --dev

Setup twitch credentials

export CLIENT_ID="<your twitch client id>"
export CLIENT_SECRET="<your twitch client secret"

Run locally

pipenv shell && python app.py

Run Test

pytest

Build and Run with docker

docker build -t streamers-api .
docker run --env CLIENT_ID=<id> --env CLIENT_SECRET=<secret> -d -p 5000:5000 streamers-api

About

A simple rest API

License:GNU General Public License v3.0


Languages

Language:Python 97.8%Language:Dockerfile 2.2%