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
Keep company data safe with Chrome Enterprise Icon
Keep company data safe with Chrome Enterprise

Protect your business with AI policies and data loss prevention in the browser

Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
Download Chrome
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