GameResource

Twitch Helix Games API resource.

Provides methods for retrieving game/category information.

Note: This resource returns lists directly rather than Page/Flow because getGames looks up specific games by ID or name (bounded to 100, no cursor pagination), and getTopGames supports both before and after cursors for bidirectional navigation, which does not fit the forward-only auto-pagination model.

See also

Functions

Link copied to clipboard
suspend fun getGames(ids: List<String> = emptyList(), names: List<String> = emptyList(), igdbIds: List<String> = emptyList()): List<Game>
Link copied to clipboard
suspend fun getTopGames(first: Int = 20, after: String? = null, before: String? = null): List<Game>