GitHubGraphqlServiceGetRepoCount Method

This method gets the amount of repositories that match the keyword with the included filters

Definition

Namespace: spider.Services
Assembly: spider (in spider.exe) Version: 1.0.0+fc7a1b35c0f8728ecbe7255d9fa5b4d3324ce3c6
C#
public Task<int?> GetRepoCount(
	string keyword,
	int starCountLower,
	int starCountUpper,
	int tries = 3
)

Parameters

keyword  String
The keyword to search for
starCountLower  Int32
lower bound for the amount of stars
starCountUpper  Int32
upper bound for the amount of stars
tries  Int32  (Optional)
amount of retries before failing

Return Value

TaskNullableInt32
the amount of repositories in the form of an int

Implements

IGitHubGraphqlServiceGetRepoCount(String, Int32, Int32, Int32)

Exceptions

BadHttpRequestExceptionIf it fails after tries amount of retries throw

See Also