Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afbora/resellerclub-php-sdk

PHP SDK for ResellerClub API. Currently all of the domains, contacts and customers API are available.
https://github.com/afbora/resellerclub-php-sdk

Last synced: 7 days ago
JSON representation

PHP SDK for ResellerClub API. Currently all of the domains, contacts and customers API are available.

Awesome Lists containing this project

README

        

# Installation
`composer.json`:
```
"repositories": [
{
"type": "vcs",
"url": "https://github.com/afbora/resellerclub-php-sdk.git"
}
],
"require": {
"afbora/resellerclub-php-sdk": "dev-master"
}
```

# Usage
Note: All functions return raw response from ResellerClubs's API. (This will change in the future)
```
$resellerClub = \afbora\ResellerClub\ResellerClub(, , 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.