public Task <IReadOnlyList <Gist> > GetAllStarred(DateTimeOffset since, ApiOptions options) { Ensure.ArgumentNotNull(options, nameof(options)); var request = new GistRequest(since); return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists(), request.ToParametersDictionary(), options)); }
/// <summary> /// List the authenticated user’s starred gists /// </summary> /// <remarks> /// http://developer.github.com/v3/gists/#list-gists /// </remarks> /// <param name="since">Only gists updated at or after this time are returned</param> public Task <IReadOnlyList <Gist> > GetAllStarred(DateTimeOffset since) { var request = new GistRequest(since); return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists(), request.ToParametersDictionary())); }
/// <summary> /// List the authenticated user’s starred gists /// </summary> /// <remarks> /// http://developer.github.com/v3/gists/#list-gists /// </remarks> public Task <IReadOnlyList <Gist> > GetAllStarred() { return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists())); }
public Task <IReadOnlyList <Gist> > GetAllStarred(ApiOptions options) { Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <Gist>(ApiUrls.StarredGists(), options)); }