streetview-publish-client-libraries-v1
v1.0.0
Published
Street View Publish API client for Node.js
Downloads
32
Maintainers
Readme
Node.js Client for Street View Publish API (Alpha)
Street View Publish API: The Street View Publish API allows your application to publish 360 photos to Google Maps, along with image metadata that specifies the position, orientation, and connectivity of each photo. With this API, any app can offer an interface for positioning, connecting, and uploading user-generated Street View images.
Quick Start
In order to use this library, you first need to go through the following steps:
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Street View Publish API.
- Setup Authentication.
Installation
$ npm install streetview-publish-client-libraries-v1
Preview
StreetViewPublishServiceClient
const google = require('google.streetview.publish.v1');
const client = google.StreetViewPublishServiceClient({
// optional auth parameters.
});
const photo = {};
client.createPhoto({photo: photo})
.then(responses => {
const response = responses[0];
// doThingsWith(response)
})
.catch(err => {
console.error(err);
});
Next Steps
- Read the Client Library Documentation for Street View Publish API to see other available methods on the client.
- Read the Street View Publish API Product documentation to learn more about the product and see How-to Guides.
- View this repository's main README to see the full list of Cloud APIs that we cover.