Skip to main content

Provider: IGDB

Overview

The Internet Games Database (IGDB) is one of the most popular databases for detailed video game information run by twitch.tv. By integrating IGDB with GameVault, users get accurate and up-to-date game data. We're pleased to partner with IGDB to provide the best game information to our users.

Setup

  1. Log in to your Twitch Account on dev.twitch.tv
    • Create a new account if you don't have one already.
  2. Open the Twitch Developer dashboard.
  3. Click on Register your application Register your application
  4. Fill out the form as shown in the image. Make sure to solve the CAPTCHA. Fill in the details
  5. Once your application is created, click on Manage. Manage
  6. Click on New Secret. Make sure to solve the CAPTCHA. New Secret
  7. Copy your Client ID and Client Secret and configure them in GameVaults METADATA_IGDB_CLIENT_ID and METADATA_IGDB_CLIENT_SECRET environment variables.
  8. Done! 🥳 Now just restart your server and it should do it's magic. If you have lots of games, it may take a while to fetch all metadata. You can check the progress in the server logs.

Configurations

PropertyDescriptionDefaultPossible Values
METADATA_IGDB_ENABLEDEnables / Disables the Providertruetrue, false
METADATA_IGDB_PRIORITYPriority of the Provider50Any Integer
METADATA_IGDB_CLIENT_IDYour developer.twitch.tv Client ID-Your Client-ID
METADATA_IGDB_CLIENT_SECRETYour developer.twitch.tv Client Secret-Your Client-Secret

Mappings

Fields

GameVault FieldIGDB API Field(s)Notes
provider_slugigdbhardcoded.
age_ratingage_ratingsSee here for details.
provider_data_idid
provider_data_urlurl
titlename
release_datefirst_release_date
descriptiongame.summary and/or game.storylineIf both are available, both get used, else any available will be mapped
ratingtotal_rating
early_accessstatusTrue if the Game is either in status alpha, beta or early_access
developersinvolved_companiesFiltered by involved_company.developer === true
publishersinvolved_companiesFiltered by involved_company.publisher === true
genresgenres
tagskeywords and themes
covercoverUsing the highest possible cover resolution via t_cover_big_2x
backgroundartworks[0] or screenshots[0]Only first artwork/screenshot is mapped. Using the highest possible 16:9 resolution via t_1080p_2x
url_websiteswebsites.url
url_screenshotsscreenshots and artworksUsing the highest possible 16:9 resolution via t_1080p_2x
url_trailersvideosOnly when video title includes the words "trailer", "teaser" or "intro"
url_gameplaysvideosOnly when video title includes the words "gameplay"

Age Rating

The table below shows how age ratings from GameVault and IGDB are matched. Ratings like "Not Yet Rated" are ignored. A game can have ratings from multiple systems. The IGDB integration calculates the average of all ratings, rounds it, and then saves it to GameVault.

Age Rating SystemRating NameGameVault Minimum Age (Years)IGDB Rating Enum Value
PEGIThree31
Seven72
Twelve123
Sixteen164
Eighteen185
ESRBEC37
E68
E10109
T1310
M1711
AO1812
CEROCERO_A013
CERO_B1214
CERO_C1515
CERO_D1716
CERO_Z1817
USKUSK_0018
USK_6619
USK_121220
USK_161621
USK_181822
GRACGRAC_ALL023
GRAC_Twelve1224
GRAC_Fifteen1525
GRAC_Eighteen1826
CLASS_INDCLASS_IND_L028
CLASS_IND_Ten1029
CLASS_IND_Twelve1230
CLASS_IND_Fourteen1431
CLASS_IND_Sixteen1632
CLASS_IND_Eighteen1833
ACBACB_G034
ACB_PG835
ACB_M1536
ACB_MA151537
ACB_R181838