Module twitchpy.dataclasses.game
Classes
class Game (game_id: str,
name: str,
box_art_url: str | None = None,
igdb_id: str | None = None)-
Expand source code
@dataclass class Game: """ Represents a Twitch category Attributes: game_id (int): An ID that identifies the category or game name (str): The category’s or game’s name box_art_url (str | None): A URL to the category’s or game’s box art igdb_id (str | None): The ID that IGDB uses to identify this game """ game_id: str name: str box_art_url: str | None = None igdb_id: str | None = None
Represents a Twitch category
Attributes
game_id
:int
- An ID that identifies the category or game
name
:str
- The category’s or game’s name
box_art_url
:str | None
- A URL to the category’s or game’s box art
igdb_id
:str | None
- The ID that IGDB uses to identify this game
Class variables
var box_art_url : str | None
-
The type of the None singleton.
var game_id : str
-
The type of the None singleton.
var igdb_id : str | None
-
The type of the None singleton.
var name : str
-
The type of the None singleton.