View on GitHub

GithubClient

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

GithubClient

GithubClient.Methods.Contents

Contents.GetContents(string, ContentDirectory) 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, GithubClient.Repositories.ContentDirectory content);

Parameters

PAT System.String

Personal Access Token

content ContentDirectory

A DirectoryContent object

Returns

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

See Also