Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/afbora/resellerclub-php-sdk
- Owner: afbora
- License: mit
- Created: 2016-04-08T11:53:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-22T12:24:12.000Z (over 6 years ago)
- Last Synced: 2024-05-21T02:21:50.239Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 11
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.