kevinrue / lolgenie

Client for the RIOT Games API
1 stars 1 forks source link
riot-games-api

Python 3.8 Code style: black

FastAPI requirements

In order to run this app in development mode, set up your workspace as follows:

  1. Clone repository
  2. Create a Conda environment using Conda: conda create -n lolgenie python=3.8
  3. Activate the Conda environment: conda activate lolgenie
  4. Restore the python environment using the requirements.txt file: pip install -r requirements.txt
  5. Run the webserver using uvicorn: uvicorn src.main:app --reload

Every time you come back to the project, run the app as follows:

conda activate lolgenie
uvicorn src.main:app --reload

Riot requirements

This repository is meant to host code for querying and processing data from the Riot Games API.

Requirements

To develop and use this code, you will need:

In your .bashrc, .zshrc, or equivalet, export the Riot Games API key as RIOT_API_KEY.

export RIOT_API_KEY="RGAPI-blah-blah-blah"