Connection
This handler is implemented using thepygithub library, a Python library that wraps GitHub API v3.
The required arguments to establish a connection are as follows:
repositoryis the GitHub repository name.api_keyis an optional GitHub API key to use for authentication.github_urlis an optional GitHub URL to connect to a GitHub Enterprise instance.
Check out this guide on how to create the GitHub API key.It is recommended to use the API key to avoid the
API rate limit exceeded error.If you installed MindsDB locally via pip, you need to install all handler dependencies manually. To do so, go to the handler’s folder (mindsdb/integrations/handlers/github_handler) and run this command:
pip install -r requirements.txt.Usage
Themindsdb_github connection contains two tables: issues and pull_requests.
Here is how to query for all issues:
For more information about available actions and development plans, visit this page.