PHP SDK for ResellerClub API. Currently all of the domains, contacts and customers API are available.
Clone or download
Pull request Compare This branch is 7 commits ahead of afbora:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
composer.json

README.md

Installation

composer.json:

"repositories": [
      {
          "type": "vcs",
          "url":  "https://github.com/kazist/resellerclub-php-sdk.git"
      }
  ],
  "require": {
    "kazist/resellerclub-php-sdk": "dev-master"
  }

Usage

Note: All functions return raw response from ResellerClubs's API. (This will change in the future)

$resellerClub = \Kazist\ResellerClub\ResellerClub(<userId>, <apiKey>, true); // Last argument is for testmode.

// Get Available TLDs
$resellerClub->domains()->getTLDs();

// Check Domain Availablity
$resellerClub->domains()->available(['google', 'example'], ['com', 'net']); // This will check google.com, google.net, example.com and example.net

Currently all of the domains, contacts and customers API are available.