<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
velocity-sports-labs / datacenter-php-sdk example snippets
use VelocitySportsLabs\DataCenter\Client;
use VelocitySportsLabs\DataCenter\HttpClient\Options;
// This file is generated by Composer
/ you set this when creating your application
]);
$client = new Client($options);
$response = $client->countries()->list();
// this would give you a list of all countries supported by VSL
dump($response);
use VelocitySportsLabs\DataCenter\Client;
use VelocitySportsLabs\DataCenter\HttpClient\Options;
// This file is generated by Composer
/ you set this when creating your application
]);
$client = new Client($options);
// use the request helper to access endpoints
$countries = $client->request('countries')->list();
// or use the magic method to access endpoints
$countries = $client->countries()->list();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.