go-twitch/api/games/models.go

16 lines
512 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"`
}