# google/google-api-javascript-client

Google APIs Client Library for browser JavaScript, aka gapi.

Repository: https://github.com/google/google-api-javascript-client
Canonical: https://ross.abutalabs.com/products/google-api-javascript-client
Language: CSS
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2024-08-23T19:41:51+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4283, "days_push": 740, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3530, forks 1161 (observed 2026-08-28T04:08:08.902123+00:00)

## What it is
Google's official JavaScript client library (gapi) for accessing Google APIs from browser applications. It provides authentication, batching, and discovery-based API access.

## Use cases
- call Google APIs from a browser app
- authenticate users with Google in JavaScript
- load Google API client with discovery documents
- batch multiple Google API requests
- access Google Drive or Calendar from web app

## When to choose
- building a browser-based app that consumes Google APIs
- you need OAuth flows and API batching handled for you

## When to avoid
- building a Node.js server-side app (use googleapis instead)
- you need a modern promise-first SDK with TypeScript types

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, auth, sdk
- domain: apis, web-development
- platform: browser
- tags: gapi, google-apis, client-library, javascript

## Member repositories
- google/google-api-javascript-client (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:08.902123+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-29T18:35:06.593026+00:00, confidence not recorded.
  - readme: https://github.com/google/google-api-javascript-client (fetched 2026-08-28T04:08:08.902123+00:00, sha 19541abebd41)
- Data as of 2026-08-30T08:39:29.467469+00:00.
