PHP code example of spkm / isams-api

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

    

spkm / isams-api example snippets


use spkm\IsamsApi\IsamsConnector;use spkm\IsamsApi\Requests\Students\GetStudentsRequest;

$connector = new IsamsConnector($clientId, $clientSecret, $baseUrl);
$request = new GetStudentsRequest();
$paginator = $connector->paginate($request);

foreach ($paginator as $response) {
    $response->json();
}