camoo/hosting
最新稳定版本:v1.4.0
Composer 安装命令:
composer require camoo/hosting
包简介
API Camoo.Hosting
关键字:
README 文档
README
CAMOO SARL is an ANTIC Accredited Registrar in Cameroon. You can use our API to check the availabiliity or to register cameroonian domain name extensions such as .CM, .CO.CM, .EDU.CM, .NET.CM or .COM.CM
This is only an example library, that can be used to send API request to camoo.hosting! You can check our Documentation for more.
Requirement
CAMOO.HOSTING API client for PHP requires version 5.6 and above
Example
use Camoo\Hosting\Modules\Domains; // set your token salt for the local cache. // you can visit this link https://api.wordpress.org/secret-key/1.1/salt/ to pickup one define('ACCESS_TOKEN_SALT', 'Your super secret Key here'); // SET your CAMOO.HOSTING creadentials define('cm_email', 'you@gmail.com'); define('cm_passwd', '2BSe3@pMRbCnV>J(G'); $oDomain = new Domains(); $oResponse = $oDomain->checkAvailability('example', 'cm'); // Get Entity var_dump($oResponse->getEntity()); // OR get Array instead of entity var_dump($oResponse->getJson());
Resources
统计信息
- 总下载量: 440
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-07-09