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

A=B

A=B

Marko Petkovsek、Herbert S. Wilf、Doron Zeilberger / AK Peters, Ltd. / 1996-01 / USD 49.00

At some point, this book describes methods of solving the problem raised by Donald E. Knuth in the classical book "The Art of Computer Programming, Volume 1: Fundamental Algorithms". The main purpo......一起来看看 《A=B》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

SHA 加密
SHA 加密

SHA 加密工具