PHP code example of funmula / biggo-api-php-pms-client

1. Go to this page and download the library: Download funmula/biggo-api-php-pms-client 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/ */

    

funmula / biggo-api-php-pms-client example snippets


$api = new BiggoPMSAPI(
  '<Your client ID>',
  '<Your client secret>'
  );

// Get list of platforms the user has access.
$platformList = $api->getPlatformList();
// Get list of groups in the platform.
$groupList = $api->getGroupList('<Platform ID>')
// Get list of reports in the platform.
$reportList = $api->getReportList('<Platform ID>')
// Get file content or save report as file.
$reportJson = $api->getReport('<Platform ID>', '<Report ID>', 'json')
shell
$ composer