Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 1.5 KB

README.md

File metadata and controls

75 lines (59 loc) · 1.5 KB

Description

This client is used to interact with one of the following APIs:

  • ResellerClub (Docs)

Available API requests:

  • Actions
  • Billing
  • Contacts
  • Customers
  • Dns
  • Domains
  • Orders
  • Products
  • Sslcert

Installation

composer require digicatech/resellerclub-php-api

OR GITHUB REPOSITORY

composer.json:

"repositories": [
      {
          "type": "vcs",
          "url":  "https://github.com/digicatech/resellerclub-php-api"
      }
  ],
  "require": {
    "digicatech/resellerclub-php-api": "dev-main"
  }

OR LOCAL PATH

composer.json:

"repositories": [
        {
            "type": "path",
            "url":  "resellerclub-php-api"
        }
],
"require": {
        "digicatech/resellerclub-php-api": "dev-main"
}

Usage Example

live mode:

use digicatech\ResellerClub\ResellerClub;

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

test mode:

use digicatech\ResellerClub\ResellerClub;

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

Note: All functions return a raw response from API.

Disclaimer

Many thanks to Ahmet Bora. This repository based on his ResellerClub PHP SDK repository.