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
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up 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