GithubClient
GithubClient.Methods.Trees
Trees.GetTree(string, string, string, string) Method
Returns a repository Tree from the Github API
public static System.Threading.Tasks.Task<GithubClient.Git.BaseTree> GetTree(string PAT, string Owner, string Name, string Ref="main");
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.
Ref System.String
The name of the commit/branch/tag. Default: the repository’s default branch (usually master)
Returns
System.Threading.Tasks.Task<BaseTree> A tree object