google

    google/go-github

    Go library for accessing the GitHub v3 API

    11.3K stars
    2.6K forks
    202 GitHub watchers
    Updated Nov 7, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    3 releases in the last 90 days, the latest 23 days ago, with 438 contributors on GitHub.

    Use Cases & Benefits

    • Provides a Go client library to interact with the GitHub REST API v3 for managing GitHub resources programmatically.
    • Offers comprehensive coverage of GitHub API endpoints with idiomatic Go interfaces and built-in support for authentication and pagination.
    • Use for automating repository management tasks such as creating, listing, and updating repositories and organizations in Go applications.
    • Use for integrating GitHub webhook event handling and validation into Go-based CI/CD pipelines or monitoring tools.
    • Use for building GitHub Apps or OAuth integrations in Go that require authenticated API access with token refresh and rate limit handling.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    BSD 3-Clause

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    go-github is a Go client library for accessing the GitHub API v3.

    go-github tracks Go's version support policy supporting any minor version of the latest two major releases of Go and the go directive in go.mod reflects that. We do our best not to break older versions of Go if we don't have to, but we don't explicitly test older versions and as of Go 1.23 the go directive in go.mod declares a hard required minimum version of Go to use with this module and this must be greater than or equal to the go line of all dependencies so go-github will require the N-1 major release of Go by default.

    If you're interested in using the GraphQL API v4, the recommended library is shurcooL/githubv4.

    go-github is compatible with modern Go releases in module mode, with Go installed:

    will resolve and add the package to the current development module, along with its dependencies.

    Alternatively the same can be achieved if you use import in a package:

    and run go get without parameters.

    Excerpt from the google/go-github README on GitHub (BSD-3-Clause license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 14: -1

    +59 stars over 88 days across 8 snapshot days.

    Forks

    2.6K+93

    Open issues

    31+1

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    google/go-github compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/claude-quickstarts20.5K+73375—
    vxcontrol/pentagi33.9K+7197536 days ago
    N4darae/shrt2.6K+5298—
    agentgateway/agentgateway6.1K+1877514 days ago
    google/go-github11.3K—6423 days ago
    BenedictKing/ccx4.0K—32117 days ago
    Category median6.1K+62475—

    Also by google

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description