FLUTTER ECOSYSTEM

zeshuaro/google_api_headers

Um plug-in Flutter para obter os cabeçalhos necessários para chamar as APIs do Google com uma chave de API restrita ao aplicativo

Capa do projeto google_api_headers
Stars
12
Forks
56
Último push (UTC)
19 de set. de 2026
Status do projeto
Ativo
Joshua Tang GitHub avatar
GITHUB User

Joshua Tang ↗

LinguagensDartKotlinHTMLRubyPythonSwiftObjective-C

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 6 itens

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

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();