Skip to content

pimolo/PlacesApi

 
 

Repository files navigation

Places API

Scrutinizer Code Quality Build Status

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.

About

Google places api access PHP library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%