{"id":17859431,"url":"https://github.com/zeshuaro/google_api_headers","last_synced_at":"2025-04-09T10:08:04.304Z","repository":{"id":39863664,"uuid":"324152684","full_name":"zeshuaro/google_api_headers","owner":"zeshuaro","description":"A Flutter plugin for getting the headers required to call Google APIs with an app restricted API key","archived":false,"fork":false,"pushed_at":"2025-03-30T14:00:25.000Z","size":1446,"stargazers_count":10,"open_issues_count":1,"forks_count":32,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T08:10:07.701Z","etag":null,"topics":["dart","flutter","flutter-plugin","google-api"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/google_api_headers","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeshuaro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["zeshuaro"],"ko_fi":"zeshuaro","liberapay":"zeshuaro","patreon":"zeshuaro","custom":["https://www.buymeacoffee.com/zeshuaro","https://paypal.me/JoshuaTang"]}},"created_at":"2020-12-24T12:35:34.000Z","updated_at":"2025-03-30T14:00:28.000Z","dependencies_parsed_at":"2024-02-13T12:55:00.918Z","dependency_job_id":"0995066e-7abb-43a0-bdf5-9837b34f8b34","html_url":"https://github.com/zeshuaro/google_api_headers","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Fgoogle_api_headers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Fgoogle_api_headers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Fgoogle_api_headers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeshuaro%2Fgoogle_api_headers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeshuaro","download_url":"https://codeload.github.com/zeshuaro/google_api_headers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018060,"owners_count":21034048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","flutter-plugin","google-api"],"created_at":"2024-10-28T06:42:40.749Z","updated_at":"2025-04-09T10:08:04.271Z","avatar_url":"https://github.com/zeshuaro.png","language":"Dart","funding_links":["https://github.com/sponsors/zeshuaro","https://ko-fi.com/zeshuaro","https://liberapay.com/zeshuaro","https://patreon.com/zeshuaro","https://www.buymeacoffee.com/zeshuaro","https://paypal.me/JoshuaTang","https://liberapay.com/zeshuaro/"],"categories":[],"sub_categories":[],"readme":"# Google API Headers\n\n[![pub package](https://img.shields.io/pub/v/google_api_headers.svg)](https://pub.dartlang.org/packages/google_api_headers)\n[![docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://pub.dev/documentation/google_api_headers/latest/)\n[![MIT License](https://img.shields.io/github/license/zeshuaro/google_api_headers.svg)](https://github.com/zeshuaro/google_api_headers/blob/main/LICENSE)\n[![GitHub Actions](https://github.com/zeshuaro/google_api_headers/actions/workflows/github-actions.yml/badge.svg)](https://github.com/zeshuaro/google_api_headers/actions/workflows/github-actions.yml)\n[![codecov](https://codecov.io/gh/zeshuaro/google_api_headers/branch/main/graph/badge.svg?token=4IVF5MBLTS)](https://codecov.io/gh/zeshuaro/google_api_headers)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/eb770d6b694640f597e8c0de21117d19)](https://app.codacy.com/gh/zeshuaro/google_api_headers/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n[![style: flutter_lints](https://img.shields.io/badge/style-flutter__lints-4BC0F5.svg)](https://pub.dev/packages/flutter_lints)\n\n[![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#EA4AAA)](https://github.com/sponsors/zeshuaro)\n[![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/zeshuaro)\n[![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/zeshuaro)\n[![LiberaPay](https://img.shields.io/badge/Liberapay-F6C915?style=for-the-badge\u0026logo=liberapay\u0026logoColor=black)](https://liberapay.com/zeshuaro/)\n[![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge\u0026logo=patreon\u0026logoColor=white)](https://patreon.com/zeshuaro)\n[![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge\u0026logo=paypal\u0026logoColor=white)](https://paypal.me/JoshuaTang)\n\nA Flutter plugin for getting the headers required to call Google APIs with an [app restricted API key](https://developers.google.com/maps/api-security-best-practices#restricting-api-keys).\n\n## Getting Started\n\nAdd this to your project's `pubspec.yaml` file:\n\n```yml\ndependencies:\n  google_api_headers: ^4.4.3\n```\n\n## Usage\n\nDepending 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.\n\n```dart\nimport 'package:google_api_headers/google_api_headers.dart';\n\nfinal headers = await GoogleApiHeaders().getHeaders();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeshuaro%2Fgoogle_api_headers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeshuaro%2Fgoogle_api_headers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeshuaro%2Fgoogle_api_headers/lists"}