thomasboom89 / bundesliga-live-results
This is a scraper for Deutsche Fussball Bundesliga 1 & 2 live results
Requires
- php: >=8.1
- ext-dom: *
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
Requires (Dev)
- captainhook/captainhook: 5.14.*
- guzzlehttp/guzzle: 7.*
- php-http/mock-client: 1.5.*
- phpmd/phpmd: 2.13.*
- phpstan/phpstan: 1.10.*
- phpunit/phpunit: 10.0.*
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: 3.7.*
- thomasboom89/captainhook-collection: ^0.0.4
- twig/twig: ^3.5
This package is auto-updated.
Last update: 2024-05-20 15:50:34 UTC
README
A scraper for for Deutsche Fussball Bundesliga 1 & 2 live results.
Attention!
I am not owner or maintainer of the website (https://bundesliga.com). This is only a scraper for live results. Use at your own risk.
Requirement
You need a working environment with php <= 8.1 and composer.
Installation
composer require thomasboom89/bundesliga-live-result-scraper
Usage
Create an instance of Bundesliga
$httpClient = new Client(); $requestFactory = new HttpFactory(); $bundesliga = new Bundesliga($httpClient, $requestFactory);
Now you can use it to make a request
// You can choose between Erste and Zweite Bundesliga $results = $bundesliga->getResults(Bundesliga\LigaType::SecondBundesliga);
You will receive an array of result objects
var_dump($results);
License
Bundesliga Live Result Scraper Copyright (C) 2023 ThomasBoom89. MIT license.
Bundesliga Live Result Scraper includes several third-party Open-Source libraries, which are licensed under their own respective Open-Source licenses.
See composer license
for complete list of depending libraries.