google_api_headers 1.5.0 icon indicating copy to clipboard operation
google_api_headers: ^1.5.0 copied to clipboard

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

Google API Headers #

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

pub package docs MIT License Build and Deploy codecov style: flutter_lints

Getting Started #

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

dependencies:
  google_api_headers: ^1.5.0

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();
13
likes
140
pub points
97%
popularity

Publisher

unverified uploader

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

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, package_info_plus

More

Packages that depend on google_api_headers