PHP code example of bicisteadm / subregapi
1. Go to this page and download the library: Download bicisteadm/subregapi 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/ */
bicisteadm / subregapi example snippets
use bicisteadm\SubregAPI\SubregAPI;
$client = new SubregAPI("username", "password", true);
$params = [
"domain" => "freshtest01.cz",
"template" => "freshtest"
];
$data = $client->call("Add_DNS_Zone", $params);