1. Go to this page and download the library: Download yakeing/dnspod_api 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/ */
//Get the API version number
echo $DP->getVersion();
//Get the level allowed line
$domain = 'example.com';
echo $DP->getRecordLine($domain);
//Get a list of domain names
echo $DP->getDomainList();
//Construct a new record table
$name = 'example.com';
$type = 'A';
$value = '255.255.255.0';
$DP->newRecords($name, $type, $value);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.