Skip to main content

Street View Publish API API client library

Project description

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

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install gapic-google-maps-streetview_publish-v1

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install gapic-google-maps-streetview_publish-v1

Preview

StreetViewPublishServiceClient

from google.streetview import publish_v1

client = publish_v1.StreetViewPublishServiceClient()

# TODO: Initialize `photo`:
photo = {}

response = client.create_photo(photo)

Next Steps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page