This library provides easy access to point zone & record management. For information about the services offered on Point see the website
To access your Point account, you'll need to define your username & apitoken. The username is your email address and the apitoken is the API token which, can be found in My Account tab.
require('pointdns.php');
$point = new PointDNS('john@example.com', 'secret-key');
$zone = $point->addZone( array('name' => 'example.com') );
$zones = $point->getZones();
$zones = $point->getZones( array(group => 'Clients') );
$zone = $point->updateZone(
array(zone_id => 1),
array(group => 'Services')
);
$zone = $point->getZone( array(zone_id => 1) );
$zone = $point->deleteZone( array(zone_id => 1) );
$record = $point->addRecord(
array(zone_id => 1),
array(name => "site", record_type => "A", data => "1.2.3.4")
);
$record = $point->updateRecord(
array(zone_id => 1, record_id => 1),
array(name => "site", record_type => "A", data => "4.3.2.1")
);
$records = $point->getRecords( array(zone_id => 1) );
$record = $point->getRecord( array(zone_id => 1, record_id => 1) );
$record = $point->deleteRecord( array(zone_id => 1, record_id => 1) );