PHP code example of drsdre / yii2-betssonsports
1. Go to this page and download the library: Download drsdre/yii2-betssonsports 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/ */
drsdre / yii2-betssonsports example snippets
'components' => [
'betssonsportsApi' => [
'class' => '\BetssonSports\Client',
'service_url' => 'zzz',
'loginName' => 'xxx',
'password' => 'zzz',
]
...
]
$client = new \BetssonSports\Client([
'service_url' => 'yyy',
'loginName' => 'xxx',
'password' => 'zzz',
]);