AI-generated Key Takeaways
-
Google Maps Platform products require API keys for authentication and billing purposes, linking your project to a unique alphanumeric string.
-
Creating an API key involves navigating to the Google Maps Platform Credentials page and generating a new key, which is then displayed and listed under API keys.
-
Restricting API keys is crucial for security and involves specifying application and API restrictions to limit usage to authorized applications and APIs.
-
API keys should be included in every Street View Static API request by replacing
YOUR_API_KEYin the provided URL with your actual API key, ensuring HTTPS usage.
This document describes the prerequisites for using the Street View Static API, how to enable it, and then how to make an authenticated request.
|
Ensure that you meet the prerequisites. |
Enable the API in your Google Cloud project. |
Configure an API key to make an authenticated API request. |
Enable the API
Before you can use Street View Static API, you must use the Google Cloud console or the
gcloud command to enable
it in your Google Cloud project.
To enable the API:
Console
Open the product page in the Google Cloud console:
Enable the Street View Static APIClick the Enable button.
gcloud
gcloud services enable \ --project "PROJECT" \ "street-view-image-backend.googleapis.com"
Read more about the Google Cloud SDK , Cloud SDK installation , and the following commands: