Get Game Info
Gets game information by game name.
This is an Async (Purple) Command, which operates differently from standard commands.
| Box Name | Type | Description |
|---|---|---|
| Game Name | String | Game name. The name must be an exact match. For example, “Pokemon” will not return a list of Pokemon games; instead, query any specific Pokemon games in which you are interested. At most 100 name values can be specified. |
| Save Variable As | String | Variable name to save the response |
You can access the response object’s data by using Get Object Variable command.
Saved Payload:
| Variable Name | Type | Description |
|---|---|---|
| box_art_url | String | Template URL for the game’s box art. |
| id | String | Game ID. |
| name | String | Game name. |
Twitch API Endpoint: GET /helix/games
Example SAMMI Response Object:
{
"id": "509658",
"name": "Just Chatting",
"box_art_url": "https://static-cdn.jtvnw.net/ttv-boxart/509658-{width}x{height}.jpg"
}