Video game soundtrack composer credits
Looks up a video game's soundtrack release and who composed it, via MusicBrainz's own release-group database.
Also known as: game soundtrack, game composer, video game music credits, OST composer, who composed this game, game score credits
Call it
bowmark.game_soundtrack_composer_credits.search(gameTitle: string): Promise<SoundtrackSearchResult>
bowmark.game_soundtrack_composer_credits.getCredits(releaseGroupId: string): Promise<SoundtrackCredits>Functions
| Function | What it does |
|---|---|
search | Searches MusicBrainz for soundtrack releases matching a game title and returns each match's composer credit and release-group id. |
getCredits | Looks up one soundtrack release-group by id (from search()) and returns its full composer/artist credits. |
Types
interface SoundtrackMatch {
releaseGroupId: string
title: string
composer: string
firstReleaseDate: string
disambiguation: string
}
interface SoundtrackCredits {
releaseGroupId: string
title: string
composer: string
firstReleaseDate: string
disambiguation: string
relations: { role: string, artist: string }[]
warnings: string[]
}
interface SoundtrackSearchResult {
query: string
matches: SoundtrackMatch[]
warnings: string[]
}Examples
// Find a game's soundtrack, then pull its full credits.
const found = await bowmark.game_soundtrack_composer_credits.search("Chrono Trigger");
const top = found.matches[0];
if (!top) return found;
const credits = await bowmark.game_soundtrack_composer_credits.getCredits(top.releaseGroupId);
log(`${credits.title}: composed by ${credits.composer}`);
return credits;Providers behind it
None — this capability needs no site. It computes the answer, or reads a public API that publishes it.