IGitHubGraphqlService Interface

IGitHubGraphqlService is a service that handles communication with the github graphql api

Definition

Namespace: spider.Services
Assembly: spider (in spider.exe) Version: 1.0.0+fc7a1b35c0f8728ecbe7255d9fa5b4d3324ce3c6
C#
public interface IGitHubGraphqlService

Methods

GetByNames ToQueryString converts ProjectRequestDtos into a format that can be inserted into a graphql search query and sends the query using QueryRepositoriesByName
GetRepoCount 
QueryRepositoriesByName QueryRepositoriesByName sends a graphql request to the github api and returns on success and otherwise handles the error and retries if necessary.
QueryRepositoriesByNameHelper QueryRepositoriesByNameHelper splits the incoming request into smaller parts
QueryRepositoriesByTopic QueryRepositoriesByTopic sends a graphql request to the github api and returns on success and otherwise handles the error and retries if necessary.
QueryRepositoriesByTopicHelper QueryRepositoriesByTopicHelper splits the incoming request into smaller parts
QueryRepositoryByName QueryRepositoryByName sends a graphql request to the github api and returns on success. Does not handle errors yet

See Also