getAllClips

fun getAllClips(broadcasterId: String? = null, gameId: String? = null, ids: List<String> = emptyList(), startedAt: Instant? = null, endedAt: Instant? = null, isFeatured: Boolean? = null): Flow<Clip>

Twitch API: Get Clips

Gets all clips matching the filter criteria. Automatically paginates through all results.

Return

a Flow of Clip objects.

Parameters

broadcasterId

an ID that identifies the broadcaster whose video clips you want to get.

gameId

an ID that identifies the game whose clips you want to get.

ids

clip IDs to get (max 100).

startedAt

the start date used to filter clips.

endedAt

the end date used to filter clips.

isFeatured

if true, returns only featured clips. If false, only non-featured. If null, all clips.