thomasboom89/bundesliga-live-results
最新稳定版本:v0.0.3
Composer 安装命令:
composer require thomasboom89/bundesliga-live-results
包简介
This is a scraper for Deutsche Fussball Bundesliga 1 & 2 live results
README 文档
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.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-24