google_api_headers

Creator: coderz1093

Last updated:

Add to Cart

Description:

google api headers

Google API Headers #













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: ^4.2.2
copied to clipboard
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();
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.