ClipResource

Twitch Helix Clips API resource.

Provides methods for creating and retrieving video clips.

See also

Functions

Link copied to clipboard
suspend fun create(broadcasterId: String, title: String? = null, duration: Double? = null): CreatedClip
Link copied to clipboard
suspend fun createFromVod(editorId: String, broadcasterId: String, vodId: String, vodOffset: Int, title: String, duration: Double? = null): CreatedClip
Link copied to clipboard
suspend fun get(broadcasterId: String? = null, gameId: String? = null, ids: List<String> = emptyList(), startedAt: Instant? = null, endedAt: Instant? = null, isFeatured: Boolean? = null, cursor: String? = null, pageSize: Int? = null): Page<Clip>
Link copied to clipboard
fun getAllClips(broadcasterId: String? = null, gameId: String? = null, ids: List<String> = emptyList(), startedAt: Instant? = null, endedAt: Instant? = null, isFeatured: Boolean? = null): Flow<Clip>
Link copied to clipboard
suspend fun getDownloadUrls(editorId: String, broadcasterId: String, clipIds: List<String>): List<ClipDownload>