go-twitch/api/games/models.go

16 lines
512 B
Go
Raw Permalink Normal View History

2024-03-02 22:54:58 -05:00
package games
type Game struct {
// The ID that identifies the category or game.
ID string `json:"id"`
// The categorys or games name.
Name string `json:"name"`
// A URL to the categorys or games box art. You must replace the {width}x{height} placeholder with the size of image you want.
BoxArtURL string `json:"box_art_url"`
// The ID that IGDB uses to identify this game. If the IGDB ID is not available to Twitch, this field is set to an empty string.
IGDBID string `json:"igdb_id"`
}