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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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