Search packages, repositories and app categories

GitHub repositoryzeshuaro/google_api_headers

google_api_headers

A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key

google_api_headers project cover
Stars
12
Forks
56
Last push (UTC)
Sep 19, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Google API Headers

pub package docs MIT License GitHub Actions codecov Codacy Badge style: flutter_lints

Github-sponsors BuyMeACoffee Ko-Fi LiberaPay Patreon PayPal

A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key.

Getting Started

Add this to your project's pubspec.yaml file:

dependencies:
  google_api_headers: ^5.4.1

Usage

Depending on the platform (iOS or Android), the function will return the required key and value pairs for calling Google APIs with keys that are restricted to an iOS or Android app.

import 'package:google_api_headers/google_api_headers.dart';

final headers = await GoogleApiHeaders().getHeaders();
Joshua Tang GitHub avatar
GitHub author

Joshua Tang ↗

LanguagesDartKotlinHTMLRubyPythonSwiftObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 6 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗