GetClipsForUser
Fetch clips for a Twitch user, by username
Signature
public List<ClipData> GetClipsForUser(string userName, int count, Boolean? isFeatured);
public List<ClipData> GetClipsForUser(string username, DateTime start, DateTime end, Boolean? isFeatured);
public List<ClipData> GetClipsForUser(string username, DateTime start, DateTime end, int count, Boolean? isFeatured);
public List<ClipData> GetClipsForUser(string username, TimeSpan duration, Boolean? isFeatured);
public List<ClipData> GetClipsForUser(string username, TimeSpan duration, int count, Boolean? isFeatured);
Parameters
username
string required
No description provided.
isFeatured
Boolean?
Default:
true
Toggle featured clips behavior
If the parameter left empty or null, all clips will be retrieved, including both those flagged as featured, and those not flagged.
If isFeatured is set to true, then only clips that have is_featured set will be retrieved.
If isFeatured is set to false, then only clips that do not have is_featured set will be retrieved.
count
int
The number of clips to fetch
A maximum of
1,000 clips can be returnedstart
DateTime
No description provided.
end
DateTime
No description provided.
duration
System.TimeSpan
No description provided.
Return Type
List<Twitch.Common.Models.Api.ClipData>
Example
CPH.GetClipsForUser(username);
CPH.GetClipsForUser(username, isFeatured);