phpnetcuplib is PHP library that can interface with the public reseller API of the (excellent) ISP netcup. The library is currently in the WiP state. Use it with caution and feel free to commit suggestions.
I am not affiliated in any way with netcup nor have I received any money for coding this software from anyone.
This example creates a new handle in your reseller account
$phpnetcuplib = new phpnetcuplib ();
$phpnetcuplib->login($config["api_key"], $config["api_password"], $config["customer_number"]);
$handleid = $phpnetcuplib->createHandle(
"organisation",
"Test John",
"Test Org",
"Test Street 1",
99735,
"Testhausen",
"DE",
"+49.123456789",
"test@goinput.de");
if (!$handleid) {
print $phpnetcuplib->getLongErrorMessage() . PHP_EOL;
die(-1);
}
Remember: WiP! Usage may change later.
- login
- logout
- createHandle
- infoDomain
- updateHandle
- deleteHandle
- listallHandle
- createDomain
Current functuons are unsupported but will added soon
- transferDomain
- listallDomains
- getAuthcodeDomain
- cancleDomain
- changeOwnerDomain
- updateDomain
- infoHandle
- priceTopleveldomain
- poll
- ackpoll
MIT
This is a project of our very own fantastic hoster goINPUT. We are currently just a small thing, but our day will come :)