You can install the bindings via Composer. Run the following command:
composer require sportic/itra-client
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Simple usage looks like:
$client = new \Sportic\Itra\ItraClient();
$client->setAuthToken('ITRA_AUTH_TOKEN');
$result = $client->runnerlist()->find(\Sportic\Itra\RunnerList\RunnerListRequest::fromArray([
'RunnerID' => 2704,
]));
$athlete = $return->getFirstResult();
echo $athlete->getId();
echo $athlete->getFirstName();
echo $athlete->getLastName();
echo $athlete->getPerformanceIndex();