Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defro/google-streetview
Google StreetView photo service by API provide metadata request and get static image url by location (address), panorama ID or latitude & longitude
https://github.com/defro/google-streetview
api composer-library google google-streetview google-streetview-api
Last synced: about 1 month ago
JSON representation
Google StreetView photo service by API provide metadata request and get static image url by location (address), panorama ID or latitude & longitude
- Host: GitHub
- URL: https://github.com/defro/google-streetview
- Owner: defro
- License: mit
- Created: 2018-11-08T15:18:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-09T10:03:50.000Z (over 2 years ago)
- Last Synced: 2024-11-06T19:51:02.083Z (2 months ago)
- Topics: api, composer-library, google, google-streetview, google-streetview-api
- Language: PHP
- Homepage: https://defro.github.io/google-streetview/
- Size: 120 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Google Street View API
[![Latest Version](https://img.shields.io/github/release/defro/google-streetview.svg?style=flat-square)](https://github.com/defro/google-streetview/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/travis/defro/google-streetview/master.svg?style=flat-square)](https://travis-ci.org/defro/google-streetview)
[![SymfonyInsight](https://insight.symfony.com/projects/bb6b7848-7e7a-4e9f-a25b-397369caeef5/mini.svg)](https://insight.symfony.com/projects/bb6b7848-7e7a-4e9f-a25b-397369caeef5)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/defro/google-streetview/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/defro/google-streetview/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/defro/google-streetview/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/defro/google-streetview/?branch=master)
[![StyleCI](https://styleci.io/repos/156726302/shield)](https://styleci.io/repos/156726302)
[![Total Downloads](https://img.shields.io/packagist/dt/defro/google-streetview.svg?style=flat-square)](https://packagist.org/packages/defro/google-streetview)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MSER6KJHQM9NS)This package can get street view image from any address to GPS coordinates, location or panorama ID using [Google's street view service](https://developers.google.com/maps/documentation/streetview/intro). Here's a quick example:
```php
$client = new \GuzzleHttp\Client();
$streetView = new \Defro\Google\StreetView\Api($client);
$imgUrl = $streetView
->setApiKey('YOUR_GOOGLE_API_KEY')
->getImageUrlByLocation('Eiffel tower, Paris');echo '';
```## Documentation
Read how to install, use this package, customize photo location to display on [documentation page](https://defro.github.io/google-streetview/).
## License
The MIT License (MIT). Please see [license file](LICENSE) for more information.