PHP code example of digicatech / resellerclub-php-api

1. Go to this page and download the library: Download digicatech/resellerclub-php-api 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/ */

    

digicatech / resellerclub-php-api example snippets


use digicatech\ResellerClub\ResellerClub;

$resellerClub = new ResellerClub('<userId>', '<apiKey>');
$resellerClub->domains()->available(['google', 'example'], ['com', 'net']);

use digicatech\ResellerClub\ResellerClub;

$resellerClub = new ResellerClub('<userId>', '<apiKey>',true);
$resellerClub->domains()->available(['google', 'example'], ['com', 'net']);