PHP code example of semstorm / semstorm-php-sdk
1. Go to this page and download the library: Download semstorm/semstorm-php-sdk 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/ */
semstorm / semstorm-php-sdk example snippets
use SemstormApi\Semstorm;
use SemstormApi\Monitoring\MonitoringCampaign;
Semstorm::init( __ACCESS_TOKEN__ );
$monitoringCampaign = new MonitoringCampaign();
print_r($monitoringCampaign->retrieve(12345));
json
{
"emstorm/semstorm-php-sdk": ">=3.0"
}
}