Skip to main content

GitHub API

Project description

GitHub API

Fluent GitHub API generated from OpenAPI spec using Stainless with modifications

Installation

pip install github-api-sdk

Usage

from github_api_sdk import GitHubAPI

gh = GitHubAPI(api_key=...)

issues = gh.repos.issues.list(
    owner="foo",
    repo="bar",
    creator="kenny",
    assignee="spenny",
    direction="desc",
    labels="bug,ui,@high",
    mentioned="bobby",
    milestone=123,
    page=1,
    per_page=100,
    since="2025-04-23T00:00:00Z",
    sort="created",
    state="open",
)

for issue in issues:
    print(issue.number, issue.title)

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

github_api_sdk-0.0.2.tar.gz (771.3 kB view details)

Uploaded Source

Built Distribution

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

github_api_sdk-0.0.2-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file github_api_sdk-0.0.2.tar.gz.

File metadata

  • Download URL: github_api_sdk-0.0.2.tar.gz
  • Upload date:
  • Size: 771.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for github_api_sdk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5bec440d5e0a72a991b48d230fabe9c064876ec183f8b85b95e71881e374f78b
MD5 7a9132fe3ddcfc1ea6d0e55e853a43a6
BLAKE2b-256 0a80cf35e2d47c85356777b77ef85648210a9dadcad2d0eb1613258bcda42e1b

See more details on using hashes here.

File details

Details for the file github_api_sdk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: github_api_sdk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for github_api_sdk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 adc120688dc2b033975639ecf33924ca7558431c2afced44e6dead211679e7fb
MD5 7c221730ea8133a216ce9e950bdfcc56
BLAKE2b-256 2898527904ffaf277f5ec29203a6f336199ffcfe70070d781339a3a1eb9c519e

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