2017 © Pedro Peláez
 

library fxw-api

FXW DNS API by scraping

image

rdx/fxw-api

FXW DNS API by scraping

  • Sunday, April 1, 2018
  • by rudiedirkx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

FXW DNS API

Manages FXW DNS records, by scraping their control panel, since they don't have an API., (*1)

$client = new rdx\fxwdns\Client(new rdx\fxwdns\WebAuth('mail@address.com', 'p@assword'));

// Explicit log in
$bool = $client->logIn();

// $client->customer->{id,name} contains some customer info from dashboard

// Get managed domains
$domains = $client->getDomains();

// Get specific domain
$domain = $client->getDomain('example.com');

// Get domain's DNS records
$records = $client->getDnsRecords($domain);

// Add DNS record
$record = new rdx\fxwdns\DnsRecord(0, 'sub.example.com', 'A', '12.34.56.78', 3600);
$bool = $client->addDnsRecord($domain, $record);

// Find specific DNS record(s)
$records = $client->findDnsRecords(['type' => 'TXT', 'name' => 'sup.example.com']);

// Remove DNS record
$bool = $client->deleteDnsRecord($domain, $records[0]);

The Versions

01/04 2018

dev-master

9999999-dev

FXW DNS API by scraping

  Sources   Download

MIT

The Requires

 

by Rudie Dirkx

01/04 2018

1.1

1.1.0.0

FXW DNS API by scraping

  Sources   Download

MIT

The Requires

 

by Rudie Dirkx

08/01 2018

1.0

1.0.0.0

FXW DNS API by scraping

  Sources   Download

MIT

The Requires

 

by Rudie Dirkx