PHP code example of atanenl / portabase
1. Go to this page and download the library: Download atanenl/portabase library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
atanenl / portabase example snippets
// Create client
$client = new \AtaneNL\PortaBase\Client('yourhost.portabase.nl', 'yourApiKey');
// Fetch host parents information
$hosts = $client->getHosts();
// Fetch managers
$managers = $client->getManagers();