Skip to content

dorianneto/get-streetview-panorama-id-cli

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

get-streetview-panorama-id-cli

npm npm

Install

$ npm i -g get-streetview-panorama-id-cli

Usage

$ get-streetview-panorama-id [options] <url>
$ get-streetview-panorama-id --help

  Usage: get-streetview-panorama-id [options] <url>

  Options:

    -h, --help   output usage information
    -e, --embed  Get URL to embed

Basic

$ get-streetview-panorama-id https://www.google.com/maps/@35.6594466,139.7002501,3a,75y,306.41h,100.68t/data=!3m7!1e1!3m5!1sGu-yA64rvskAAAQfCRbuwg!2e0!3e11!7i11700!8i5850

  Copy the panorama ID: F:Gu-yA64rvskAAAQfCRbuwg

Options

Embed

$ get-streetview-panorama-id --embed https://www.google.com/maps/@35.6594466,139.7002501,3a,75y,306.41h,100.68t/data=!3m7!1e1!3m5!1sGu-yA64rvskAAAQfCRbuwg!2e0!3e11!7i11700!8i5850

   Copy the embed url: https://www.google.com/maps/embed/v1/streetview?pano=F:Gu-yA64rvskAAAQfCRbuwg&key=YOUR_APIKEY

TODO

  • Integrate repository with Travis-CI
  • Integrate repository with Codacy
  • Add option to generate IFRAME
  • Add option to insert your API KEY

Related

License

This project is licensed under the terms of the MIT license ©

About

Get the panorama ID as from Street View or Photo Sphere url in the terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published