Generated Dart clients for Google's REST APIs, with OAuth 2.0 helpers
open sourceBSD-3-Clausefree
Google APIs for Dart is Google's set of Dart packages for the REST APIs described by its API Discovery Service: googleapis for stable APIs and googleapis_beta for beta ones, generated by discoveryapis_generator, plus googleapis_auth for OAuth 2.0 credentials, service accounts, Application Default Credentials and authenticated HTTP clients. Its makers recommend it for Google Workspace (Drive, Gmail, Calendar, Sheets, Docs), YouTube and other Discovery-based APIs, and point Google Cloud users to the newer google-cloud-dart packages first.
Problems it solves
- call the Google Drive or Gmail API from Dart
- authenticate a Dart server to Google APIs with a service account
- use the YouTube Data API from a Dart program
Features
- generated clients for stable and beta Google REST APIs
- OAuth 2.0, service accounts and Application Default Credentials (googleapis_auth)
- covers Google Workspace APIs such as Drive, Gmail, Calendar, Sheets and Docs
- generator for Dart clients from API Discovery documents
Limitations
- Several Google Cloud APIs in package:googleapis (Cloud Storage, Firestore, Secret Manager and others) are deprecated in favour of the google_cloud_* packages from google-cloud-dart.1
- Flutter apps shouldn't use googleapis_auth directly; its README points them to extension_google_sign_in_as_googleapis_auth.1
