ISpiderProjectServiceGetContributorsByName Method

Get ContributorsByName gets the contributors of a repository based on the repositories name and ownerName

Definition

Namespace: spider.Services
Assembly: spider (in spider.exe) Version: 1.0.0+fc7a1b35c0f8728ecbe7255d9fa5b4d3324ce3c6
C#
Task<List<ContributorDto>?> GetContributorsByName(
	string name,
	string ownerName,
	int amount
)

Parameters

name  String
Repository name
ownerName  String
Repository owner name
amount  Int32
Amount of contributors to return

Return Value

TaskListContributorDto
A list of contributors in the form of List<ContributorDto>?. Returns null if there are no contributors or they cannot be accessed

Exceptions

HttpRequestExceptionThrows on NullReferenceException or JsonException

See Also