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 wymagania wstępne dotyczące korzystania z interfejsu Routes 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
Skonfiguruj klucz interfejsu API lub OAuth, aby wysłać uwierzytelnione żądanie 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-07-26 UTC."],[[["Google Maps Platform secures its products by requiring API keys for authentication and billing purposes."],["API keys can be created and managed through the Google Cloud Console or the Cloud SDK."],["It's crucial to restrict API keys to specific applications and IP addresses for enhanced security."],["You need to include your API key in every Routes API request, preferably using HTTPS."]]],["API keys are crucial for securing Google Maps Platform products, authenticating requests, and associating usage with your billing account. To create an API key, navigate to the Credentials page in the Google Maps Platform console and select \"Create credentials\". For security, restrict keys by setting application and API restrictions, such as allowing requests from specific IP addresses and selecting only necessary APIs like Routes API. Include this key in each Routes API request. Using the Cloud SDK, keys can be created, updated and restricted.\n"]]