GitHubGraphqlServiceQueryRepositoriesByTopic Method
QueryRepositoriesByTopic sends a graphql request to the github api and returns on success and otherwise handles
the error and retries if necessary.
Namespace: spider.ServicesAssembly: spider (in spider.exe) Version: 1.0.0+fc7a1b35c0f8728ecbe7255d9fa5b4d3324ce3c6
public Task<TopicSearchData> QueryRepositoriesByTopic(
string topic,
int amount,
string? cursor = null,
int tries = 3
)
- topic String
- topic to search for
- amount Int32
- Amount of repositories to return
- cursor String (Optional)
- The cursor to start the search from
- tries Int32 (Optional)
- amount of retries before failing
TaskTopicSearchDatalist of repositories in the form of TopicSearchData
IGitHubGraphqlServiceQueryRepositoriesByTopic(String, Int32, String, Int32) | BadHttpRequestException | If it fails after tries amount of retries throw |