This is a simple wrapper for the IGDB API.
Fetches the following data: Game name, description, cover image
| Variable | Description | Required? | Default |
|---|---|---|---|
| CLIENT_ID | Client ID of IGDB API | ✓ | None |
| CLIENT_SECRET | Client Secret of IGDB API | ✓ | None |
| DB_URI | A tortoise-orm supported database connection string. | ✓ | None |
| HOST | Host to run the server on | _ | 127.0.0.1 |
| PORT | Port to run the server on | _ | 8000 |
- Clone the repository
git clone https://github.com/infinity-plus/igdb-api.git -b master
cd igdb-api- Install the requirements
python -m pip install -r requirements.txt- Create a
.envfile in the root directory and add the required environment variables - Run the server
python -m IGDB