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) 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);

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

Returns

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

See Also