GetClipsForUserById

Fetch clips for a Twitch user, by user ID

Signature

public List<ClipData> GetClipsForUserById(string userId, int count, Boolean? isFeatured);
public List<ClipData> GetClipsForUserById(string userId, DateTime start, DateTime end, Boolean? isFeatured);
public List<ClipData> GetClipsForUserById(string userId, DateTime start, DateTime end, int count, Boolean? isFeatured);
public List<ClipData> GetClipsForUserById(string userId, TimeSpan duration, Boolean? isFeatured);
public List<ClipData> GetClipsForUserById(string userId, TimeSpan duration, int count, Boolean? isFeatured);

Parameters

userId
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 returned
start
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.GetClipsForUserById(userId);
CPH.GetClipsForUserById(userId, isFeatured);