getAllChannels

fun getAllChannels(query: String, liveOnly: Boolean = false): Flow<SearchedChannel>

Twitch API: Search Channels

Gets all channels that match the specified query. Automatically paginates through all results.

Return

a Flow 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.