View on GitHub

GithubClient

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

GithubClient

GithubClient.Methods.Contents

Contents.GetContents(string, string, string) Method

Returns a content object from the Github API

public static System.Threading.Tasks.Task<System.Collections.Generic.List<GithubClient.Repositories.ContentDirectory>> GetContents(string PAT, string Owner, string Name);

Parameters

PAT System.String

Personal Access Token

Owner System.String

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

Name System.String

The name of the repository. The name is not case sensitive.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.List<ContentDirectory>> A DirectoryContent object

See Also