FLUTTER ECOSYSTEM

zeshuaro/google_api_headers

アプリ制限APIキーを使用してGoogle APIを呼び出すために必要なヘッダーを取得するためのFlutterプラグイン

google_api_headers のプロジェクト画像
Stars
12
Forks
56
最終プッシュ(UTC)
2026/09/19
プロジェクト状態
公開中
Joshua Tang GitHub avatar
GITHUB User

Joshua Tang ↗

言語DartKotlinHTMLRubyPythonSwiftObjective-C

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 6 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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