View on GitHub

GithubClient

A C# Dll library for working with the Github Rest API

GithubClient

GithubClient.Methods.Repos

Repos.GetOrgRepositories(string, string, int, int, string, string) Method

Returns a repository object from the Github API

public static System.Threading.Tasks.Task<System.Collections.Generic.List<GithubClient.Repositories.Repository>> GetOrgRepositories(string PAT, string Org, int PerPage=30, int Page=1, string Type="all", string Direction="asc");

Parameters

PAT System.String

Personal Access Token

Org System.String

The account owner of the repository. This can also be the organization name. The name is not case sensitive.

PerPage System.Int32

The number of results per page (max 100).

Page System.Int32

Page number of the results to fetch

Type System.String

Specifies the types of repositories you want returned.

Direction System.String

The order to sort by. Default: asc

Returns

System.Threading.Tasks.Task<System.Collections.Generic.List<Repository>> A collection of repository objects

See Also