CloudXNS系统API的 PHP SDK包 CloudXNS API PHP SDK

码农软件 · 软件分类 · 其他开发相关 · 2019-10-19 12:26:35

软件介绍

这是一款智能DNS CloudXNS.net 官方推出一个款CloudXNS系统API的 PHP SDK包,PHP的SDK包比同时发布的Python SDK更为完善,其中还包含了一个完整的HTML demo,可以实现所有解析的管理操作,使用者直接可以拿来管理自己的域名DNS解析。

PHP >= 5.4.0

Install

    If you do not have Composer, you may install it by following the instructions at getcomposer.org.

Install First

    Extract the archive file downloaded from CloudXNS-API-SDK-PHP.zip to your project. You can then install using the following command:

composer install

Install Second

    you can then install using the following command:

composer require "cloudxns/cloud-xns-api-sdk-php:*" 
cd vendor/cloudxns/cloud-xns-api-sdk-php/
composer require "hightman/httpclient:*"

Demo

use Cloudxns\Api;   

$api = new Api(); 
$api->setApiKey('xxxxx'); 
$api->setSecretKey('xxxx');  

//获取域名列表 
$api->domain->domainList();    

//添加域名 
$arr = array("domain"=>"cloudxns.net"); 
$api->domain->domainAdd($arr);    

//删除域名  $api->domain->domainDelete('/5568');

 


本文地址:https://codercto.com/soft/d/17094.html

The Apache Modules Book

The Apache Modules Book

Nick Kew / Prentice Hall PTR / 2007-02-05 / USD 54.99

"Do you learn best by example and experimentation? This book is ideal. Have your favorite editor and compiler ready-you'll encounter example code you'll want to try right away. You've picked the right......一起来看看 《The Apache Modules Book》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具