Konfigurowanie interfejsu Places API (nowość)
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Deweloperzy z Europejskiego Obszaru Gospodarczego (EOG)
W tym dokumencie opisujemy czynności, które należy wykonać, aby zacząć korzystać z interfejsu Places API (nowego).
checklist
Upewnij się, że spełniasz wymagania wstępne.
settings
włączyć interfejs API w projekcie Google Cloud,
verified_user
Skonfiguruj klucz interfejsu API lub OAuth, aby wysłać uwierzytelnione żądanie do interfejsu API.
Włącz API
Zanim zaczniesz korzystać z interfejsu Places API (New), musisz włączyć go w projekcie w chmurze Google Cloud za pomocą konsoli Google Cloud lub polecenia gcloud.
[[["Ł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: 2026-04-10 UTC."],[],["API keys are required to authenticate Google Maps Platform requests. To create one, navigate to the Google Maps Platform Credentials page, click \"Create credentials,\" then \"API key,\" and close the dialog. To restrict an API key for security, go to the same Credentials page, select the key, set \"Application restrictions\" to IP addresses, specify allowed IP addresses, then set \"API restrictions,\" to the specific API, save your changes. Every Places API request needs the key in the request.\n"]]