channels

suspend fun channels(query: String, liveOnly: Boolean = false, cursor: String? = null, pageSize: Int? = null): Page<SearchedChannel>

Twitch API: Search Channels

Gets a single page of channels that match the specified query.

Return

a Page of SearchedChannel objects.

Parameters

query

the URI-encoded search string.

liveOnly

a Boolean value that determines whether the response includes only channels that are currently streaming live. Default: false.

cursor

the cursor used to get the next page of results.

pageSize

the maximum number of items to return per page (1-100, default 20). Null uses the API default.