Skip to content

infinity-plus/igdb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGDB API Wrapper

Python

This is a simple wrapper for the IGDB API.

Fetches the following data: Game name, description, cover image

Required Environment Variables:

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

Installation

  • 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 .env file in the root directory and add the required environment variables
  • Run the server
python -m IGDB

About

A simple IGDB API Wrapper in FastAPI

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages