# googleapis/google-api-python-client

🐍 The official Python client library for Google's discovery based APIs.

Repository: https://github.com/googleapis/google-api-python-client
Canonical: https://ross.abutalabs.com/products/google-api-python-client
Homepage: https://googleapis.github.io/google-api-python-client/docs/
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T17:30:08+00:00

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

## Adoption (not part of the score)
Stars 8914, forks 2579 (observed 2026-08-28T04:10:26.269225+00:00)

## What it is
The official Python client library for Google's discovery-based APIs, providing simple and flexible access to many Google APIs with built-in OAuth 2.0 support. It is in maintenance mode, receiving only critical bug and security fixes, with Google recommending Cloud Client Libraries for new development.

## Use cases
- call google apis from python
- access gmail api in python
- upload files to google drive programmatically
- authenticate with oauth2 for google apis
- query youtube data api
- use google sheets api from a script

## When to choose
- you need access to a Google API that lacks a dedicated Cloud Client Library
- you want a single package covering many Google APIs
- you're maintaining existing code already built on this library
- you need quick OAuth 2.0 setup for Google services

## When to avoid
- starting new development for Google Cloud services - prefer Cloud Client Libraries
- you need a small dependency footprint - the package exceeds 50MB due to cached discovery documents
- you need the newest features - the library is in maintenance mode
- you're on Python older than 3.10 and can't use v2.x

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, auth, sdk
- domain: apis, developer-tools, cloud-computing
- platform: python, cross-platform
- tags: google-apis, discovery-based-apis, oauth2, api-client, official-client

## Member repositories
- googleapis/google-api-python-client (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.269225+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:24:34.014761+00:00, confidence not recorded.
  - readme: https://github.com/googleapis/google-api-python-client (fetched 2026-08-28T04:10:26.269225+00:00, sha 07c5cdac3e72)
  - homepage: https://googleapis.github.io/google-api-python-client/docs/ (fetched 2026-08-29T08:24:48.820858+00:00, sha d5f71b158520)
  - registry_pypi: https://pypi.org/pypi/google-api-python-client/json (fetched 2026-08-29T08:24:48.829942+00:00, sha 010c301a67d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
