This library (often used via gapi) provides a browser-friendly way to call Google APIs using OAuth 2.0 and generated discovery documents. It abstracts discovery, auth, and HTTP details so developers can focus on domain calls like Drive file operations, Calendar events, or YouTube data. The client can load APIs dynamically at runtime, which keeps bundles small and allows late-binding to specific services and versions. It includes helpers for incremental auth, token refresh, and scopes so apps can request only what they need when they need it. Responses are returned as promise-based calls with typed parameters derived from service definitions, simplifying error handling and pagination. Because it runs in the browser, it’s a natural fit for single-page apps that integrate deeply with Google services.

Features

  • Dynamic API loading from discovery docs
  • OAuth 2.0 helpers for sign-in, scopes, and token refresh
  • Promise-based calls with typed parameters and responses
  • Built-in pagination and batch request support
  • Minimal initial payload with on-demand service loading
  • Works across major Google REST APIs from the browser

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Google API JavaScript Client

Google API JavaScript Client Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Google API JavaScript Client!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2025-10-09