Skip to content
LizardByte icon

GameDB

Video game database based on IGDB.

CIUpdate DBCodecovSonarCloud

CharactersCollectionsFranchisesGamesPlatformsVideos

Overview

GameDB is a database of games, platforms, characters, collections, franchises, and videos sourced from IGDB and published as a static JSON API via GitHub Pages. Video metadata is enriched with data from the YouTube API.

The data is intended to be consumed by LizardByte projects such as Sunshine.

Data

The database is updated automatically on a schedule via the update-db workflow. The generated JSON files are published to the gh-pages branch and served at https://app.lizardbyte.dev/GameDB/.

EndpointDescriptionURL
BucketsGame name search index, split by first two charactershttps://app.lizardbyte.dev/GameDB/buckets/<bucket>.json
CharactersIndividual character details and all charactershttps://app.lizardbyte.dev/GameDB/characters/<id>.json
CollectionsIndividual collection details and all collectionshttps://app.lizardbyte.dev/GameDB/collections/<id>.json
FranchisesIndividual franchise details and all franchiseshttps://app.lizardbyte.dev/GameDB/franchises/<id>.json
GamesIndividual game details (no aggregate all.json)https://app.lizardbyte.dev/GameDB/games/<id>.json
PlatformsIndividual platform details and all platformshttps://app.lizardbyte.dev/GameDB/platforms/<id>.json
VideosIndividual YouTube video metadatahttps://app.lizardbyte.dev/GameDB/videos/<id>.json
StatsTotal item counts per categoryhttps://app.lizardbyte.dev/GameDB/stats.json

all.json files (e.g. characters/all.json) contain a summary of every item in that category as a single dictionary keyed by ID.

Buckets are used as a lightweight search index for game names. Each bucket file is named after the first two alphanumeric characters of the game name (lowercased), e.g. ha.json for games starting with "Ha" such as Halo. Games whose names contain a space as the second character are put into a bucket named after the first character. Games whose names do not start with two alphanumeric characters are grouped into @.json. Each bucket contains a dictionary of { id: { name } } entries, keeping individual files small for fast lookups.

Development

Code contributors can use the Developer Setup guide.

About

Video game database based on IGDB.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

33 stars

Watchers

4 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages