{"id":13857099,"url":"https://github.com/rrwen/google_streetview","last_synced_at":"2025-08-15T08:33:03.360Z","repository":{"id":57435376,"uuid":"93476279","full_name":"rrwen/google_streetview","owner":"rrwen","description":"A command line tool and module for Google Street View Image API","archived":false,"fork":false,"pushed_at":"2019-03-06T00:01:47.000Z","size":1993,"stargazers_count":99,"open_issues_count":4,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-22T14:39:24.423Z","etag":null,"topics":["address","api","city","cli","command","google","image","interface","line","location","map","module","panorama","photo","road","route","street","streetview","tool","view"],"latest_commit_sha":null,"homepage":"https://rrwen.github.io/google_streetview","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-06T04:31:06.000Z","updated_at":"2024-10-22T05:14:56.000Z","dependencies_parsed_at":"2022-09-04T15:04:32.851Z","dependency_job_id":null,"html_url":"https://github.com/rrwen/google_streetview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fgoogle_streetview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fgoogle_streetview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fgoogle_streetview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fgoogle_streetview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrwen","download_url":"https://codeload.github.com/rrwen/google_streetview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229901937,"owners_count":18141800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["address","api","city","cli","command","google","image","interface","line","location","map","module","panorama","photo","road","route","street","streetview","tool","view"],"created_at":"2024-08-05T03:01:25.762Z","updated_at":"2024-12-16T03:18:33.281Z","avatar_url":"https://github.com/rrwen.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=NQNSAHK5X46D2"],"categories":["Python"],"sub_categories":[],"readme":"# google_streetview\n\nRichard Wen  \nrrwen.dev@gmail.com  \n\n* [Documentation](https://rrwen.github.io/google_streetview)\n  \nA command line tool and module for Google Street View Image API.\n\n\n[![pypi version](https://badge.fury.io/py/google-streetview.svg)](https://badge.fury.io/py/google-streetview)\n[![Build Status](https://travis-ci.org/rrwen/google_streetview.svg?branch=master)](https://travis-ci.org/rrwen/google_streetview)\n[![Coverage Status](https://coveralls.io/repos/github/rrwen/google_streetview/badge.svg?branch=master)](https://coveralls.io/github/rrwen/google_streetview?branch=master)\n[![Stars](https://img.shields.io/github/stars/rrwen/google_streetview.svg)](https://github.com/google_streetview/stargazers)\n[![GitHub license](https://img.shields.io/github/license/rrwen/google_streetview.svg)](https://github.com/rrwen/google_streetview/blob/master/LICENSE)\n[![Donarbox Donate](https://img.shields.io/badge/donate-Donarbox-yellow.svg)](https://donorbox.org/rrwen)\n[![PayPal Donate](https://img.shields.io/badge/donate-PayPal-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=NQNSAHK5X46D2)\n[![Twitter](https://img.shields.io/twitter/url/https/github.com/rrwen/google_streetview.svg?style=social)](https://twitter.com/intent/tweet?text=A%20command%20line%20tool%20and%20module%20for%20Google%20Street%20View%20Image%20API:%20https://github.com/rrwen/google_streetview%20%23python%20%23pip)\n\n**Note**: Google changed [StreetView API pricing](https://developers.google.com/maps/documentation/streetview/usage-and-billing) and a billing plan may be required (checked March 5, 2019).\n\n## Install\n\n1. Install [Python](https://www.python.org/downloads/)\n2. Install [google_streetview](https://pypi.python.org/pypi/google-streetview) via `pip`\n\n```\npip install google_streetview\n```\n  \nFor the latest developer version, see [Developer Install](https://github.com/rrwen/google_streetview/blob/master/NOTES.rst#developer-install).\n  \n## Usage\n\nFor help in the console:\n\n```\ngoogle_streetview -h\n```\n  \nEnsure that a [Google API developer key](https://developers.google.com/api-client-library/python/auth/api-keys) is set:\n\n```\ngoogle_streetview -s key=\"your_dev_key\"\n```\n\nSearch street view for latitude and longitude `46.414382,10.013988`:\n  \n```\ngoogle_streetview \"46.414382,10.013988\"\n```\n  \nSave images to a directory:\n\n```\ngoogle_streetview --location=\"46.414382,10.013988\" --save_downloads=downloads\n```\n  \nObtain a 360 panorama by rotating the camera ``heading`` given a 90 degree field of vision `fov`::\n\n```\ngoogle_streetview --location=\"46.414382,10.013988\" --fov=90 --heading=0;90;180;270\n```\n  \nUse as a Python module:\n\n```python\n\n# Import google_streetview for the api module\nimport google_streetview.api\n\n# Define parameters for street view api\nparams = [{\n\t'size': '600x300', # max 640x640 pixels\n\t'location': '46.414382,10.013988',\n\t'heading': '151.78',\n\t'pitch': '-0.76',\n\t'key': 'your_dev_key'\n}]\n\n# Create a results object\nresults = google_streetview.api.results(params)\n\n# Download images to directory 'downloads'\nresults.download_links('downloads')\n```\n  \nFor more usage details, see the [Documentation](https://rrwen.github.io/google_streetview).\n\n## Contributions\n\n1. Reports for issues and suggestions can be made using the [issue submission](https://github.com/rrwen/google_streetview/issues)\n2. Code contributions are submitted via [pull requests](https://github.com/rrwen/google_streetview/pulls)\n\nSee [CONTRIBUTING.rst](https://github.com/rrwen/google_streetview/blob/master/CONTRIBUTING.rst) for more details.\n  \n## Implementation\n\nThe package [google_streetview](https://pypi.python.org/pypi/google-streetview) uses the following components:\n\n| Component                                                                                                | Purpose                                                                 |\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [Google Street View Image API](https://developers.google.com/maps/documentation/streetview)              | API for Google Street View images                                       |\n| [google_streetview.api](https://github.com/rrwen/google_streetview/blob/master/google_streetview/api.py) | Module for interfacing with Google Street View Image API using requests |\n| [requests](https://pypi.python.org/pypi/requests)                                                        | Download and get URLs from Google Street View Image API                 |\n\n```\n  \n  Google Street View Image API     \u003c-- API for Street View Images\n               |\n      google_streetview.api        \u003c-- URL Request with query string\n               |\n            request                \u003c-- Download URLs and images\n```\nFor more information, see [NOTES.rst](https://github.com/rrwen/google_streetview/blob/master/NOTES.rst).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrwen%2Fgoogle_streetview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrwen%2Fgoogle_streetview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrwen%2Fgoogle_streetview/lists"}