github_search_engine.clients.github_client_manager
Module Contents
- class GithubClientManager(access_token)[source]
A GithubClientManager to handle interactions with the GitHub API.
Initializes a GitHub API client manager.
- Parameters:
access_token (str) – The personal access token used to authenticate with the GitHub API.
- async get_repository_issues(owner, repository_name)[source]
Retrieve issues from a specified GitHub repository.
This function connects to a given GitHub repository and retrieves a list of issues using the GitHub API client. It returns a paginated list of issues associated with the repository.
- Parameters:
- Returns:
A paginated list of issues retrieved from the specified repository.
- Return type:
list[githubkit.versions.v2022_11_28.models.Issue]
- get_issue_comments(owner, repository_name, issue_number)[source]
Retrieve comments for a specific issue in a repository.