PHP code example of scoutnet / sn-webservice

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

    

scoutnet / sn-webservice example snippets


// load Autoloader from composer
I with this code:
$scoutNetApi = new \ScoutNet\Api\ScoutnetApi();
$events = $scoutNetApi->get_events_for_global_id_with_filter(4, ['limit' => 3]);

print_r($events);