Prerequisites
Stay organized with collections
Save and categorize content based on your preferences.
Before you can start coding your first client application, there are a few
things you need to do, if you haven't done them already.
Get a Google Account
You need a Google Account in order to create a project in the Google API Console. If you already have an account, then you're all set.
You may also want a separate Google Account for testing purposes.
Try out Google Street View
This API documentation assumes that you've used Google Street View, and that you're familiar with web programming concepts and web data formats.
If you haven't used Google Street View, then try out the user interface before starting to code.
Create a project for your client
Before you can send requests to Google Street View, you need to tell Google about your client and activate access to the API. You do this by using the Google API Console to create a project, which is a named collection of settings and API access information, and register your application.
To get started using Google Street View Publish API, you need to first
use
the setup tool, which guides you through creating a project in the
Google API Console, enabling the API, and creating credentials.
If you haven't done so already, create your application's API key by clicking
Create credentials > API key. Next, look for your API key in the API
keys section.
Learn REST basics
There are two ways to invoke the API:
If you decide not to use client libraries, you'll need to understand the basics of REST.
REST is a style of software architecture that provides a convenient and consistent approach to requesting and modifying data.
The term REST is short for "Representational State Transfer." In the context of Google APIs, it refers to using HTTP verbs to retrieve and modify representations of data stored by Google.
In a RESTful system, resources are stored in a data store; a client sends a request that the server perform a particular action (such as creating, retrieving, updating, or deleting a resource), and the server performs the action and sends a response, often in the form of a representation of the specified resource.
In Google's RESTful APIs, the client specifies an action using an HTTP verb such as POST
, GET
, PUT
, or DELETE
. It specifies a resource by a globally-unique URI of the following form:
https://www.googleapis.com/apiName/apiVersion/resourcePath?parameters
Because all API resources have unique HTTP-accessible URIs, REST enables data caching and is optimized to work with the web's distributed infrastructure.
You may find the method definitions in the HTTP 1.1 standards documentation useful; they include specifications for GET
, POST
, PUT
, and DELETE
.
REST in the Google Street View Publish API
The Google Street View Publish API operations map directly to REST HTTP verbs.
The specific formats for Google Street View Publish API URIs are:
https://www.googleapis.com/streetviewpublish/v1/resourcePath?parameters
The full set of URIs used for each supported operation in the API is summarized in the Google Street View Publish API Reference document.
Learn JSON basics
The Google Street View Publish API returns data in JSON format.
JSON (JavaScript Object Notation) is a common, language-independent data format that provides a simple text representation of arbitrary data structures. For more information, see json.org.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eTo use the Google Street View Publish API, you will need a Google Account and a project created in the Google API Console.\u003c/p\u003e\n"],["\u003cp\u003eBefore diving into code, familiarize yourself with Google Street View's user interface and basic REST concepts like HTTP requests and JSON data format.\u003c/p\u003e\n"],["\u003cp\u003eAccess the Google Street View Publish API by sending HTTP requests and parsing JSON responses or by utilizing provided client libraries.\u003c/p\u003e\n"],["\u003cp\u003eWhen working directly with HTTP requests, understanding RESTful principles, including resource identification with URIs and using HTTP verbs for actions, is crucial.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Street View Publish API utilizes specific URI formats for accessing resources and provides comprehensive documentation for all supported operations.\u003c/p\u003e\n"]]],["To prepare for using the Google Street View Publish API, first, obtain a Google Account and try Google Street View. Next, create a project in the Google API Console to register your application and generate an API key. If you are not using client libraries, understand REST basics, which utilize HTTP verbs to manage data. Finally, familiarize yourself with JSON, the data format used by the API, for data retrieval and handling.\n"],null,["Before you can start coding your first client application, there are a few\nthings you need to do, if you haven't done them already.\n\nGet a Google Account\n\nYou need a [Google Account](https://www.google.com/accounts/NewAccount) in order to [create a project](#project) in the Google API Console. If you already have an account, then you're all set.\n\nYou may also want a separate Google Account for testing purposes.\n\nTry out Google Street View\n\nThis API documentation assumes that you've used Google Street View, and that you're familiar with web programming concepts and web data formats.\n\nIf you haven't used Google Street View, then try out the [user interface](http://www.google.com/streetview/) before starting to code.\n\nCreate a project for your client\n\nBefore you can send requests to Google Street View, you need to tell Google about your client and activate access to the API. You do this by using the Google API Console to create a project, which is a named collection of settings and API access information, and register your application.\n\nTo get started using Google Street View Publish API, you need to first\n[use\nthe setup tool](https://console.cloud.google.com/start/api?id=805111954036&credential=client_key), which guides you through creating a project in the\nGoogle API Console, enabling the API, and creating credentials.\n\nIf you haven't done so already, create your application's API key by clicking\n**Create credentials \\\u003e API key** . Next, look for your API key in the **API\nkeys** section.\n\nLearn REST basics\n\nThere are two ways to invoke the API:\n\n- Sending HTTP requests and parsing the responses.\n- Using [client libraries](/streetview/publish/libraries).\n\nIf you decide not to use client libraries, you'll need to understand the basics of REST.\n\nREST is a style of software architecture that provides a convenient and consistent approach to requesting and modifying data.\n\nThe term REST is short for \"[Representational State Transfer](https://en.wikipedia.org/wiki/Representational_state_transfer).\" In the context of Google APIs, it refers to using HTTP verbs to retrieve and modify representations of data stored by Google.\n\nIn a RESTful system, resources are stored in a data store; a client sends a request that the server perform a particular action (such as creating, retrieving, updating, or deleting a resource), and the server performs the action and sends a response, often in the form of a representation of the specified resource.\n\nIn Google's RESTful APIs, the client specifies an action using an HTTP verb such as `POST`, `GET`, `PUT`, or `DELETE`. It specifies a resource by a globally-unique URI of the following form: \n\n```\nhttps://www.googleapis.com/apiName/apiVersion/resourcePath?parameters\n```\n\nBecause all API resources have unique HTTP-accessible URIs, REST enables data caching and is optimized to work with the web's distributed infrastructure.\n\nYou may find the [method definitions](https://tools.ietf.org/html/rfc7231#section-4.3) in the HTTP 1.1 standards documentation useful; they include specifications for `GET`, `POST`, `PUT`, and `DELETE`.\n\nREST in the Google Street View Publish API\n\nThe Google Street View Publish API operations map directly to REST HTTP verbs.\n\nThe specific formats for Google Street View Publish API URIs are: \n\n```\nhttps://www.googleapis.com/streetviewpublish/v1/resourcePath?parameters\n```\n\nThe full set of URIs used for each supported operation in the API is summarized in the [Google Street View Publish API Reference](/streetview/publish/reference/rest) document.\n\nLearn JSON basics\n\nThe Google Street View Publish API returns data in JSON format.\n\n\n[JSON](http://en.wikipedia.org/wiki/JSON) (JavaScript Object Notation) is a common, language-independent data format that provides a simple text representation of arbitrary data structures. For more information, see [json.org](http://www.json.org/).\n\n\u003cbr /\u003e"]]