nick-smit/openf1-api
最新稳定版本:1.0.2
Composer 安装命令:
composer require nick-smit/openf1-api
包简介
An API client for openf1.org
关键字:
README 文档
README
An API client for openf1.org using guzzlehttp/guzzle.
Installation
You can add this library as a dependency to your project using Composer:
composer require nick-smit/openf1-api
Usage example
$factory = new NickSmit\OpenF1Api\Factory\OpenF1ApiClientFactory(); $apiClient = $factory->create(); // Retrieve the drivers who participated in the latest session. $drivers = $apiClient->drivers(sessionKey: NickSmit\OpenF1Api\Filter\IdFilter::latest()); foreach ($drivers as $driver) { echo $driver->fullName . "\n"; }
You will find more examples in the examples directory.
License
OpenF1 Api is made available under the MIT License (MIT). Please see the License File for more information.
Disclaimer
OpenF1 is an unofficial project and is not associated in any way with the Formula 1 companies. F1, FORMULA ONE, FORMULA 1, FIA FORMULA ONE WORLD CHAMPIONSHIP, GRAND PRIX and related marks are trade marks of Formula One Licensing B.V.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-05