API General Examples

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
==Introduction==
==Introduction==
-
Here are some example PHP scripts you can use to either use to create your own implementation or simply process a small task you need to do at that moment. These scripts are purely command line driven and do not write any logs, only echoes are given.
+
Here are some example PHP scripts you can either use to create your own implementation or simply process a small task you need to do at that moment. These scripts are command line driven and mostly do not write any logs, just output to the command line.
-
DISCLAIMER: Usage of these scripts is at your own risk. They are purely created to execute a single task, there is no nice error handling or problem prevention. Any damages caused by errors caused as a result of using these scripts your own responsibility!
+
DISCLAIMER: Openprovider is not responsible for the scripts listed on this page. We just collect them and share the ones that we think to be useful. Usage of these scripts is at your own risk. Any damages caused by errors caused as a result of using these scripts your own responsibility!
==Usage==
==Usage==
Line 10: Line 10:
* [[Bulk checkDomainRequest]]
* [[Bulk checkDomainRequest]]
* [[Bulk transferDomainRequest]]
* [[Bulk transferDomainRequest]]
 +
* [[Bulk transfer domains from TransIP]]
* [[Replace existing zones with a DNS template]]
* [[Replace existing zones with a DNS template]]
* [[Retrieve full price list]]
* [[Retrieve full price list]]

Current revision as of 10:06, 13 May 2019

Introduction

Here are some example PHP scripts you can either use to create your own implementation or simply process a small task you need to do at that moment. These scripts are command line driven and mostly do not write any logs, just output to the command line.

DISCLAIMER: Openprovider is not responsible for the scripts listed on this page. We just collect them and share the ones that we think to be useful. Usage of these scripts is at your own risk. Any damages caused by errors caused as a result of using these scripts your own responsibility!

Usage

These scripts are fully functional, but depend on the API.php. Be sure to have this file present next to the PHP you are executing.

Example scripts

Views
Personal tools