BlushyFace.Twitch
BlushyFace.Twitch.API.Helix.Endpoints.Clips Class Reference

Implemented More...

Public Member Functions

 Clips (Settings settings)
 
async Task< CreateClipResponse > CreateClipAsync (List< KeyValuePair< string, string >> parameters=null)
 
async Task< ClipResponse > GetClipsAsync (List< KeyValuePair< string, string >> parameters)
 

Detailed Description

Implemented

Member Function Documentation

◆ CreateClipAsync()

async Task<CreateClipResponse> BlushyFace.Twitch.API.Helix.Endpoints.Clips.CreateClipAsync ( List< KeyValuePair< string, string >>  parameters = null)
inline

Creates a clip programmatically. This returns both an ID and an edit URL for the new clip.

Clip creation takes time. We recommend that you query Get Clips, with the clip ID that is returned here. If Get Clips returns a valid clip, your clip creation was successful. If, after 15 seconds, you still have not gotten back a valid clip from Get Clips, assume that the clip was not created and retry Create Clip.

Required scope: clips:edit

Required Query String Parameter: broadcaster_id

More info: https://dev.twitch.tv/docs/api/reference#create-clip

Parameters
parameters
Returns

◆ GetClipsAsync()

async Task<ClipResponse> BlushyFace.Twitch.API.Helix.Endpoints.Clips.GetClipsAsync ( List< KeyValuePair< string, string >>  parameters)
inline

Gets clip information by clip ID (one or more), broadcaster ID (one only), or game ID (one only).

The response has a JSON payload with a data field containing an array of clip information elements and a pagination field containing information required to query for more streams.

Required Query String Parameter: broadcaster_id, game_id, id

For a query to be valid, id (one or more), broadcaster_id, or game_id must be specified. You may specify only one of these parameters.

More info: https://dev.twitch.tv/docs/api/reference#get-clips

Parameters
parameters
Returns