Skip to content
pubscout

googleapis_beta

9.0.0, released 3 years ago by google.dev

Auto-generated client libraries for accessing Google APIs.

WASM-ready
$ flutter pub add googleapis_beta
Source repository

What it does

Provides auto-generated client libraries for accessing various Google APIs described through the API discovery service. It allows developers to interact with services like Firebase, Analytics, and BigQuery directly from Dart and Flutter applications.

AI-written summary of version 9.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to interact with Google APIs that are currently in beta stage from Dart or Flutter.
  • You want strongly-typed clients for Google backend and cloud services.

Skip it when

  • You need stable, production-ready Google APIs (use package:googleapis instead).
  • The specific Google API you need has been removed or promoted to stable.

Strengths

  • Provides programmatic access to a wide range of beta Google APIs.
  • Automatically generated types and requests matching API specs.

Weaknesses

  • Beta APIs may change or be removed in future versions.
  • Large package surface area due to many auto-generated clients.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
2

Requires adding the package to dependencies and using proper authentication tokens (OAuth2) with _discoveryapis_commons.

import 'package:googleapis_beta/analyticsadmin/v1beta.dart' as analyticsadmin;
import 'package:http/http.dart' as http;

// Initialize the client with an authenticated HTTP client
// var client = analyticsadmin.AnalyticsAdminApi(httpClient);

Alternatives

Packages that do the same job and could replace googleapis_beta.

  • dio

    If you need a robust HTTP client with interceptors for communicating with Google backend services.

Works with

Packages commonly used together with googleapis_beta: ones it builds on, ones built on it, and its own family.