sportic/itra-client

Itra API Client implementation for php

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/sportic/itra-client

1.0.2 2024-01-07 15:47 UTC

This package is auto-updated.

Last update: 2025-10-07 19:43:14 UTC


README

Latest Stable Version Total Downloads License Code Coverage

Composer

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');

Getting Started

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();