ezvenue/ezvenue-php-sdk

PHP SDK for EZ Venue API v1


Keywords
php, address, class, venue, ezvenue, ezvenue.app, courts
License
MIT

Documentation

EZ Venue PHP SDK

PHP SDK for EZ Venue API.

Installation

$ composer require ezvenue/ezvenue-php-sdk

Usage

use \EZVenue\EZVenue;
use \EZVenue\Lookup;

const EZV_USERNAME = 'YOUR_EZV_USERNAME';
const EZV_ACCESS_TOKEN = 'YOUR_EZV_ACCESS_TOKEN';

$ezv = new EZVenue(EZV_USERNAME, EZV_ACCESS_TOKEN);

$data = [
    'ref' => 'XXXX',
    'amount' => 1000,
    'address' => '1234 Your Address, TX 12345' // can be a coordinates e.g. 123.233334,-93.334343
];

$lookup = $ezv->lookup($data);
print_r($lookup);

License

Released under the MIT License. See LICENSE file.