# google/go-github

Go library for accessing the GitHub v3 API

Repository: https://github.com/google/go-github
Canonical: https://ross.abutalabs.com/products/go-github
Homepage: https://pkg.go.dev/github.com/google/go-github/v89/github
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: go, github-api, github, golang, hacktoberfest
Last push: 2026-08-26T18:40:56+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 4849, "days_push": 7, "days_rel": 29, "gap_med": 21, "n_releases_24m": 28}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11286, forks 2485 (observed 2026-08-28T04:10:46.656632+00:00)

## What it is
go-github is a Go client library for accessing the GitHub REST API v3, maintained by Google. It provides typed services for repositories, issues, organizations, and other GitHub resources with support for optional parameters and pagination.

## Use cases
- list a user's GitHub organizations from a Go program
- create and manage GitHub issues programmatically
- automate repository management tasks via the GitHub API
- build a GitHub bot or integration in Go
- fetch pull request data for CI reporting
- query GitHub API with authenticated requests

## When to choose
- you need to interact with the GitHub REST API v3 from Go
- you want a well-maintained, Google-backed client with typed API services
- you need stable, versioned releases with good documentation

## When to avoid
- you need the GitHub GraphQL API v4 (use shurcooL/githubv4 instead)
- you are not working in Go

## Facets
- artifact type: library
- maturity: stable
- function: http-client, sdk, developer-tools
- domain: apis, developer-tools, version-control
- platform: go, cross-platform
- tags: github-api, rest-client, api-client, golang

## Member repositories
- google/go-github (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.656632+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:59.110693+00:00, confidence not recorded.
  - readme: https://github.com/google/go-github (fetched 2026-08-28T04:10:46.656632+00:00, sha ed513027f7de)
  - homepage: https://pkg.go.dev/github.com/google/go-github/v89/github (fetched 2026-08-29T08:14:42.604487+00:00, sha 63de8ee91bb2)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T08:14:42.607065+00:00, sha 757852027879)
- Data as of 2026-08-30T08:39:29.467469+00:00.
