PHP code example of camilord / alphaone_api

1. Go to this page and download the library: Download camilord/alphaone_api 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/ */

    

camilord / alphaone_api example snippets




define('CONFIG_FILE', dirname(__FILE__).'/config.json');

$obj = new AlphaOneAPI(CONFIG_FILE);
$data = $obj->getProjectDetails(12);
print_r($data);