1. Go to this page and download the library: Download statscore/apiclient 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/ */
statscore / apiclient example snippets
use Statscore\Client;
use Statscore\Model\Response\Authorization\AuthorizationDTO;
$clientId = 1;
$statscore = new Client($clientId, 'yoursecretkey');
/** @var AuthorizationDTO $authDTO */
$authDTO = $statscore->authorize();
/** Get your token, save it and use in future requests */
$statscore->setToken($authDTO->getToken());