Skip to content

Nekland/PlacesApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

25590da · Aug 8, 2016

History

22 Commits
Apr 20, 2015
Jul 1, 2015
Apr 24, 2015
Apr 23, 2015
Mar 12, 2015
Apr 23, 2015
Apr 24, 2015
Mar 12, 2015
Apr 23, 2015
Aug 8, 2016
Apr 17, 2015
Apr 17, 2015

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.