PHP code example of rbltracker / sdk
1. Go to this page and download the library: Download rbltracker/sdk 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/ */
rbltracker / sdk example snippets
$client = new RBLTracker\Client('your_account_sid', 'your_auth_token');
try
{
$hosts = $client->hosts->get([ 'page_size' => 5, 'page' => 2 ]);
print_r($hosts);
} catch(RBLTracker\Exceptions\RBLTrackerException $e)
{
echo $e->getMessage();
}