GitHubRestServiceGetRepoContributors Method

GetRepoContributors sends a rest request to the github api and returns on success and otherwise handles the error and retries if necessary.

Definition

Namespace: spider.Services
Assembly: spider (in spider.exe) Version: 1.0.0+fc7a1b35c0f8728ecbe7255d9fa5b4d3324ce3c6
C#
public Task<List<ContributorDto>?> GetRepoContributors(
	string ownerName,
	string repoName,
	int amount = 50
)

Parameters

ownerName  String
Name of the repository owner
repoName  String
Name of the repository
amount  Int32  (Optional)
amount of contributors to return

Return Value

TaskListContributorDto
A list of contributors in the form of List<ContributorDto>?

Implements

IGitHubRestServiceGetRepoContributors(String, String, Int32)

See Also