Skip to main content

Airbyte Github Connector for AI platforms

Project description

Airbyte Github AI Connector

Type-safe Github API connector with full IDE autocomplete support for AI applications.

Package Version: 0.18.1

Connector Version: 0.1.0

SDK Version: 0.1.0

Installation

uv pip install airbyte-ai-github

Usage

from airbyte_ai_github import GithubConnector
from airbyte_ai_github.models import GithubAuthConfig

# Create connector
connector = GithubConnector(auth_config=GithubAuthConfig(access_token="...", refresh_token="...", client_id="...", client_secret="..."))

# Use typed methods with full IDE autocomplete
# (See Available Operations below for all methods)

Available Operations

Repositories Operations

  • repositories__get() - Gets information about a specific GitHub repository using GraphQL
  • repositories__list() - Returns a list of repositories for the specified user using GraphQL
  • repositories__search() - Search for GitHub repositories using GitHub's powerful search syntax. Examples: "language:python stars:>1000", "topic:machine-learning", "org:facebook is:public"

Org_Repositories Operations

  • org_repositories__list() - Returns a list of repositories for the specified organization using GraphQL

Branches Operations

  • branches__list() - Returns a list of branches for the specified repository using GraphQL
  • branches__get() - Gets information about a specific branch using GraphQL

Commits Operations

  • commits__list() - Returns a list of commits for the default branch using GraphQL
  • commits__get() - Gets information about a specific commit by SHA using GraphQL

Releases Operations

  • releases__list() - Returns a list of releases for the specified repository using GraphQL
  • releases__get() - Gets information about a specific release by tag name using GraphQL

Issues Operations

  • issues__list() - Returns a list of issues for the specified repository using GraphQL
  • issues__get() - Gets information about a specific issue using GraphQL
  • issues__search() - Search for issues using GitHub's search syntax

Pull_Requests Operations

  • pull_requests__list() - Returns a list of pull requests for the specified repository using GraphQL
  • pull_requests__get() - Gets information about a specific pull request using GraphQL
  • pull_requests__search() - Search for pull requests using GitHub's search syntax

Reviews Operations

  • reviews__list() - Returns a list of reviews for the specified pull request using GraphQL

Comments Operations

  • comments__list() - Returns a list of comments for the specified issue using GraphQL
  • comments__get() - Gets information about a specific issue comment by its GraphQL node ID.

Note: This endpoint requires a GraphQL node ID (e.g., 'IC_kwDOBZtLds6YWTMj'), not a numeric database ID. You can obtain node IDs from the Comments_List response, where each comment includes both 'id' (node ID) and 'databaseId' (numeric ID).

Pr_Comments Operations

  • pr_comments__list() - Returns a list of comments for the specified pull request using GraphQL
  • pr_comments__get() - Gets information about a specific pull request comment by its GraphQL node ID.

Note: This endpoint requires a GraphQL node ID (e.g., 'IC_kwDOBZtLds6YWTMj'), not a numeric database ID. You can obtain node IDs from the PRComments_List response, where each comment includes both 'id' (node ID) and 'databaseId' (numeric ID).

Labels Operations

  • labels__list() - Returns a list of labels for the specified repository using GraphQL
  • labels__get() - Gets information about a specific label by name using GraphQL

Milestones Operations

  • milestones__list() - Returns a list of milestones for the specified repository using GraphQL
  • milestones__get() - Gets information about a specific milestone by number using GraphQL

Organizations Operations

  • organizations__get() - Gets information about a specific organization using GraphQL
  • organizations__list() - Returns a list of organizations the user belongs to using GraphQL

Users Operations

  • users__get() - Gets information about a specific user using GraphQL
  • users__list() - Returns a list of members for the specified organization using GraphQL
  • users__search() - Search for GitHub users using search syntax

Teams Operations

  • teams__list() - Returns a list of teams for the specified organization using GraphQL
  • teams__get() - Gets information about a specific team using GraphQL

Tags Operations

  • tags__list() - Returns a list of tags for the specified repository using GraphQL
  • tags__get() - Gets information about a specific tag by name using GraphQL

Stargazers Operations

  • stargazers__list() - Returns a list of users who have starred the repository using GraphQL

Viewer Operations

  • viewer__get() - Gets information about the currently authenticated user. This is useful when you don't know the username but need to access the current user's profile, permissions, or associated resources.

Viewer_Repositories Operations

  • viewer_repositories__list() - Returns a list of repositories owned by the authenticated user. Unlike Repositories_List which requires a username, this endpoint automatically lists repositories for the current authenticated user.

Type Definitions

All response types are fully typed using TypedDict for IDE autocomplete support. Import types from airbyte_ai_github.types.

Documentation

Generated from OpenAPI 3.0 specification.

For API documentation, see the service's official API docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airbyte_ai_github-0.18.1.tar.gz (85.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airbyte_ai_github-0.18.1-py3-none-any.whl (117.8 kB view details)

Uploaded Python 3

File details

Details for the file airbyte_ai_github-0.18.1.tar.gz.

File metadata

  • Download URL: airbyte_ai_github-0.18.1.tar.gz
  • Upload date:
  • Size: 85.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for airbyte_ai_github-0.18.1.tar.gz
Algorithm Hash digest
SHA256 9cf4fd09724fb9ad909f6c87e538bdddda06f7f4816bfb1cf2e1c808a4bd72d2
MD5 99666f4853d2e8e5692d2ce157d0adda
BLAKE2b-256 1767e383eb208044c8b4580bfd92053e10e1971fd62615b5feff7a0c0b9a09a0

See more details on using hashes here.

File details

Details for the file airbyte_ai_github-0.18.1-py3-none-any.whl.

File metadata

File hashes

Hashes for airbyte_ai_github-0.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f96ecbd49d83734c5e45e4f548481393ee51d4880a0b5a72258297abb7da0d6
MD5 491126c1c263cf13fc2dff1259ad5805
BLAKE2b-256 6b864dfd8e1ec9b4197efc392a9b93474d62b3d5f352991db45069cae1441808

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page