Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
W tym dokumencie opisujemy wymagania wstępne dotyczące korzystania z interfejsu Geolocation API, sposób jego włączania, a następnie sposób wysyłania uwierzytelnionego żądania.
checklist
Sprawdź, czy spełniasz wymagania wstępne.
settings
włączyć interfejs API w projekcie Google Cloud,
verified_user
skonfigurować klucz interfejsu API, aby wysyłać uwierzytelnione żądania interfejsu API;
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-09-04 UTC."],[[["\u003cp\u003eGoogle Maps Platform products require API keys for authentication and billing purposes, linking your project and Google billing account.\u003c/p\u003e\n"],["\u003cp\u003eAPI keys can be created and managed through the Google Cloud Console or the Cloud SDK.\u003c/p\u003e\n"],["\u003cp\u003eRestricting API keys to specific applications and IP addresses enhances security by limiting unauthorized usage.\u003c/p\u003e\n"],["\u003cp\u003eInclude your API key in every Geolocation API request using HTTPS for secure communication.\u003c/p\u003e\n"]]],[],null,["# Set up the Geolocation API\n\nThis document describes the prerequisites for using the Geolocation API, how to enable it,\nand then how to make an authenticated request.\n\n|--------------------------------------------------------------------|---|-------------------------------------------------------------------------|---|-----------------------------------------------------------------------------------------------------|\n| checklist 1. Prerequisites Ensure that you meet the prerequisites. | | settings 2. Enable the API Enable the API in your Google Cloud project. | | verified_user 3. Make your first request Configure an API key to make an authenticated API request. |"]]