relaypoint/mondialrelay

Relay point search for Mondial Relay

v1.0.0 2015-01-17 09:27 UTC

This package is not auto-updated.

Last update: 2024-04-27 14:12:14 UTC


README

Mondial Relay relay point search

Latest Version Software License Build Status Coverage Status Quality Score

Installation

Install via Composer. To install, simply add it to your composer.json file:

{
    "require": {
        "relaypoint/mondialrelay": "~1.0"
    }
}

And run composer to update your dependencies:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

Usage

$o = (new GatewayFactory())->create('MondialRelay');
$o->setParameter('login', 'your login or enseigne code');
$o->setParameter('privateKey', 'your private key');

$a = $o->search(array('zip' => '75004', 'serviceCode' => '24R', 'weight' => 12000));

var_dump($a);

Testing

$ phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.