schoenef/here-api-connector

A php library to connect to the here api server side

v1.1.2 2023-03-07 00:04 UTC

This package is auto-updated.

Last update: 2024-09-20 00:28:00 UTC


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.

  1. You will need a here api developer account.
  2. Install the library via composer:$ composer require schoenef/here-api-connector:~1.0
  3. 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