camoo/hosting 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

camoo/hosting

最新稳定版本:v1.4.0

Composer 安装命令:

composer require camoo/hosting

包简介

API Camoo.Hosting

README 文档

README

N|Solid

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-07-09