GithubClient
GithubClient.Methods.Contents
Contents.GetFile(string, ContentDirectory) Method
Returns a content object from the Github API
public static System.Threading.Tasks.Task<object> GetFile(string PAT, GithubClient.Repositories.ContentDirectory content);
Parameters
PAT
System.String
Personal Access Token
content
ContentDirectory
A DirectoryContent object
Returns
System.Threading.Tasks.Task<System.Object> A FileContent object