schoenef / here-api-connector
A php library to connect to the here api server side
v1.1.2
2023-03-07 00:04 UTC
Requires
- php: >=8.1
- ext-json: *
- guzzlehttp/guzzle: ^7.5
README
A php library to connect to the here api server side
Installation
This is the vanilla php integration, there exists also a dedicated bundle for Symfony.
- You will need a here api developer account.
- Install the library via composer:
$ composer require schoenef/here-api-connector:~1.0
- Set it up:
require_once __DIR__ . '/vendor/autoload.php'; $connector = new HereApiConnector([ 'apiKey' => 'YOUR API KEY', 'lang' => 'de' ]); print_r($connector->searchLocation('Schönhauser A', [ 'country' => 'DEU' ]));
Options
This was developed against version 6.2 of the here api, all options are documented here