PHP code example of avolle / fotballdata
1. Go to this page and download the library: Download avolle/fotballdata 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/ */
avolle / fotballdata example snippets
volle\Fotballdata\Request\MatchesRequests;
// Remember to define config keys. See Configuration below.
$config = [];
$matchesRequests = new MatchesRequests($config);
/** @var \Avolle\Fotballdata\Entity\Game $match */
$match = $matchesRequests->get(1);
use Avolle\Fotballdata\Request\ClubsRequests;
$config = [
'clubId' => 69,
'cid' => 666,
'cwd' => 42,
];
$request = new ClubsRequests($config);