PHP code example of appzz / onlime-client

1. Go to this page and download the library: Download appzz/onlime-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

appzz / onlime-client example snippets



use AppZz\Http\OnlimeClient;

$username = 'user';
$password = 'password';

try {
    $o = new OnlimeClient ($username, $password);
    $b = $o->balance();
    var_dump ($b);
} catch (Throwable $e) {
    echo $e->getMessage(), PHP_EOL;
}