PHP code example of nekland / places-api
1. Go to this page and download the library: Download nekland/places-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nekland / places-api example snippets
use Nekland\PlacesApi\Places;
$api = new Places();
$api->useAuthentication('PublicApiAccess', ['key' => 'MY KEY']);
$result = $api->getSearchApi()->search('49.8445057,3.2912589', 1000);