API General Examples

From Openprovider API documentation

Jump to: navigation, search


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.

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!


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

Personal tools