Skip to content

exonet/resellerclub-php-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%