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://www.codercto.com/soft/d/17094.html

算法笔记

算法笔记

胡凡、曾磊 / 机械工业出版社 / 2016-7 / 65

这是一本零基础就能读懂的算法书籍,读者不需要因为自己没有语言基础而畏惧。书籍的第2章便是一个C语言的入门教程,内容非常易懂,并且十分实用,阅读完这章就可以对本书需要的C语言基础有一个较好的掌握。 本书已经覆盖了大部分基础经典算法,不仅可以作为考研机试和PAT的学习教材,对其他的一些算法考试(例如CCF的CSP考试)或者考研初试的数据结构科目的学习和理解也很有帮助,甚至仅仅想学习经典算法的读者......一起来看看 《算法笔记》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

html转js在线工具
html转js在线工具

html转js在线工具

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

RGB CMYK 互转工具