PHP code example of sportsit / api-client
1. Go to this page and download the library: Download sportsit/api-client 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/ */
sportsit / api-client example snippets
$config = new \Dash\Configuration($clientID, $clientSecret, $companyCode);
$client = new \Dash\Client($config);
$response = $client->get($uri, $options);
$response = $client->authenticate()->get($uri, $options);
bash
# Install Composer
curl -sS https://getcomposer.org/installer | php
bash
php composer.phar