streetview-publish-client-libraries-v1

1.0.0 • Public • Published

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:

  1. Select or create a Cloud Platform project.
  2. Enable billing for your project.
  3. Enable the Street View Publish API.
  4. 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

Package Sidebar

Install

npm i streetview-publish-client-libraries-v1

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

119 kB

Total Files

17

Last publish

Collaborators

  • louiso