Clips
C# Methods for Twitch > Clips
CreateClip
Create a 30 second Twitch Clip
public ClipData CreateClip()
Due to Twitch API restrictions, the generated clip will always be:
- 30 seconds long
- Titled to match your current stream title
CreateStreamMarker
Create a Stream Marker on Twitch
public StreamMarker CreateStreamMarker(string description)
GetAllClips
Fetch all clips for the connected Twitch Broadcaster. The list is in descending order by view count.
public List<ClipData> GetAllClips(Boolean? isFeatured)
Clip data is always sorted by view count (descending) due to Twitch API limitations
A maximum of
1,000
clips can be returnedGetClips
Fetch a number of clips for the connected Twitch Broadcaster
public List<ClipData> GetClips(int count, Boolean? isFeatured)
GetClipsForGame
Fetch clips for a specific game on Twitch
public List<ClipData> GetClipsForGame(int gameId, TimeSpan duration, int count, Boolean? isFeatured)
public List<ClipData> GetClipsForGame(int gameId, TimeSpan duration, Boolean? isFeatured)
public List<ClipData> GetClipsForGame(int gameId, DateTime start, DateTime end, int count, Boolean? isFeatured)
public List<ClipData> GetClipsForGame(int gameId, DateTime start, DateTime end, Boolean? isFeatured)
public List<ClipData> GetClipsForGame(int gameId, int count, Boolean? isFeatured)
public List<ClipData> GetClipsForGame(int gameId, Boolean? isFeatured)
GetClipsForUser
Fetch clips for a Twitch user, by username
public List<ClipData> GetClipsForUser(string username, TimeSpan duration, int count, Boolean? isFeatured)
public List<ClipData> GetClipsForUser(string username, TimeSpan duration, Boolean? isFeatured)
public List<ClipData> GetClipsForUser(string username, DateTime start, DateTime end, int count, Boolean? isFeatured)
public List<ClipData> GetClipsForUser(string username, DateTime start, DateTime end, Boolean? isFeatured)
public List<ClipData> GetClipsForUser(string userName, int count, Boolean? isFeatured)
public List<ClipData> GetClipsForUser(string username, Boolean? isFeatured)
Deprecated
public List<ClipData> GetClipsForUser(int userId, TimeSpan duration, int count)
Deprecated
public List<ClipData> GetClipsForUser(int userId, TimeSpan duration)
Deprecated
public List<ClipData> GetClipsForUser(int userId, DateTime start, DateTime end, int count)
Deprecated
public List<ClipData> GetClipsForUser(int userId, DateTime start, DateTime end)
Deprecated
public List<ClipData> GetClipsForUser(int userId, int count)
Deprecated
public List<ClipData> GetClipsForUser(int userId)
GetClipsForUserById
Fetch clips for a Twitch user, by user ID
0.2.3
public List<ClipData> GetClipsForUserById(string userId, TimeSpan duration, int count, Boolean? isFeatured)
0.2.3
public List<ClipData> GetClipsForUserById(string userId, TimeSpan duration, Boolean? isFeatured)
0.2.3
public List<ClipData> GetClipsForUserById(string userId, DateTime start, DateTime end, int count, Boolean? isFeatured)
0.2.3
public List<ClipData> GetClipsForUserById(string userId, DateTime start, DateTime end, Boolean? isFeatured)
0.2.3
public List<ClipData> GetClipsForUserById(string userId, int count, Boolean? isFeatured)
0.2.3
public List<ClipData> GetClipsForUserById(string userId, Boolean? isFeatured)
Â