Skip to content
pubscout

firebaseapis

0.2.0, released 3 years ago by invertase.io

Auto-generated client libraries for accessing Firebase REST APIs.

WASM-readyRepository archived
$ flutter pub add firebaseapis
Source repository

What it does

Provides auto-generated Dart client libraries for interacting with various Firebase APIs and Google APIs described through the API discovery service. It covers services like Cloud Functions, FCM, Firebase Management, App Check, Firestore, and more.

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

Use it when

  • You need to access Firebase backend services programmatically via REST APIs in Dart.
  • You want to manage Firebase resources, projects, or apps from a Dart backend or script.

Skip it when

  • You are using standard Flutter Firebase plugins for regular client-side app features (like standard FirebaseAuth or Cloud Firestore mobile SDKs).
  • You do not need direct REST API access to Firebase management or server endpoints.

Strengths

  • Covers multiple Firebase and unlisted/private APIs not always available in standard discovery packages.
  • Provides type-safe client libraries generated from API specifications.

Weaknesses

  • Contains breaking changes in recent minor versions.
  • Documentation points heavily toward individual service docs rather than a unified package usage guide.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
2

Add the dependency to pubspec.yaml and use standard HTTP authentication where required by the specific Firebase APIs.

import 'package:firebaseapis/firebase_v1beta1.dart' as firebase;
import 'package:http/http.dart' as http;

// Initialize and use the API client with an authenticated HTTP client

Alternatives

Packages that do the same job and could replace firebaseapis.

  • googleapis

    If you need access to the broader official Google APIs discovery service rather than Firebase-specific ones.

Works with

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