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 Art of Computer Programming, Volumes 1-3 Boxed Set

The Art of Computer Programming, Volumes 1-3 Boxed Set

Donald E. Knuth / Addison-Wesley Professional / 1998-10-15 / USD 199.99

This multivolume work is widely recognized as the definitive description of classical computer science. The first three volumes have for decades been an invaluable resource in programming theory and p......一起来看看 《The Art of Computer Programming, Volumes 1-3 Boxed Set》 这本书的介绍吧!

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

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具