ezvenue / ezvenue-php-sdk
PHP SDK for EZ Venue API v1
0.3.9
2020-10-01 22:11 UTC
Requires
- php: >=5.4
- lodev09/php-util: *
- php-curl-class/php-curl-class: *
README
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.