nekland / places-api
Google Places API made easy !
1.1.0
2015-04-24 09:23 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ~5.0
- nekland/base-api: ~1.0
Requires (Dev)
- phpspec/phpspec: ~2.0
- phpunit/phpunit: ~4.6
This package is auto-updated.
Last update: 2024-11-26 01:30:13 UTC
README
This library helps you to ask for Google Places API.
Installation
It's simple ! Just use the following composer command line.
composer require 'nekland/places-api:~1.0'
Usage
<?php use Nekland\PlacesApi\Places; $api = new Places(); $api->useAuthentication('PublicApiAccess', ['key' => 'MY KEY']); $result = $api->getSearchApi()->search('49.8445057,3.2912589', 1000);
See authentication part to know how to get a key
Who needs a documentation ? NeklandPlacesApi supports provide auto-completion for compatibles IDEs.
If yours don't, no problem: the documentation is available here.