conversional/mapquest

PHP Implementation of the MapQuest API.

Maintainers

Package info

github.com/ConversionalDev/mapquest

Homepage

pkg:composer/conversional/mapquest

Statistics

Installs: 20 837

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 2

1.1.2 2021-08-04 19:24 UTC

README

Purpose

Package currently only implements the RouteMatrix endpoint of the API.

Usage

Setup

use /MapQuest/MapQuestApi

$key = 'your_mapquest_key';
$config = array('key' => $key);
$client = new MapQuestApi($config);

Matrix Request

$response = $client->apiMatrixRoute($locations);