PHP code example of quantumca / dnspod
1. Go to this page and download the library: Download quantumca/dnspod library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
quantumca / dnspod example snippets
$sdk = new QuantumCA\DNSPod\DNSPod('id', 'token'); // id 和 token 可以在 https://console.dnspod.cn/account/token/token 生成个
$sdk->domain('domain.com')->create(); // https://docs.dnspod.cn/api/5f562674e75cf42d25bf6817/