getTwitchGame

Fetches information about a game; its numerical ID and full name.

If id is passed, then it takes priority over name.

Note: Must be called from inside a Fiber.

version(TwitchSupport && WithTwitchPlugin)
package
getTwitchGame
(,
const string name
,
const string id
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

name string

Name of game to look up.

id string

ID of game to look up.

Return Value

Type: auto

Voldemort aggregate struct with id and name members.

Meta