PHP code example of axl-media-org / oddstake-sdk
1. Go to this page and download the library: Download axl-media-org/oddstake-sdk 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/ */
axl-media-org / oddstake-sdk example snippets
use AxlMedia\OddstakeSdk\Facade as Oddstake;
foreach (Oddstake::getSupportedCountries() as $country) {
$response = Oddstake::soccer($country['feed_name']);
}
use AxlMedia\OddstakeSdk\Oddstake;
foreach (Oddstake::getSupportedCountries() as $country) {
$response = (new Oddstake)->soccer($country['feed_name']);
}