PHP code example of thomasboom89 / bundesliga-live-results
1. Go to this page and download the library: Download thomasboom89/bundesliga-live-results 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/ */
thomasboom89 / bundesliga-live-results example snippets
$httpClient = new Client();
$requestFactory = new HttpFactory();
$bundesliga = new Bundesliga($httpClient, $requestFactory);
// You can choose between Erste and Zweite Bundesliga
$results = $bundesliga->getResults(Bundesliga\LigaType::SecondBundesliga);
var_dump($results);