Wallogit.com
2017 © Pedro Peláez
API wrapper for LockLizard Enterprise v4
A wrapper for LockLizard Enterprise v4 API, to make the API slightly more paletable., (*1)
<?php
$api = new LockLizardAdminAPI($server_url, $username, $password);
$customers = $api->listCustomer('email', 'john@example.com');
// $customers = [
// 'status' => 'OK', 'data' => [
// 'id' => 'xxx',
// 'name' => 'xxx',
// 'email' => 'xxx',
// 'company_name' => 'xxx',
// 'valid_from' => 'xxx',
// 'expires_at' => 'xxx',
// 'licenses' => 'xxx',
// 'active' => 'xxx',
// 'registered' => 'xxx'
// ]
// ];
?>
Check out the code - it's pretty well commented., (*2)
Released under MIT license, (*3)