npldevfr/liquipedia-client
最新稳定版本:1.2.0
Composer 安装命令:
composer require npldevfr/liquipedia-client
包简介
A PHP client for the Liquipedia v3 API
README 文档
README
Liquipedia PHP Client
An unofficial PHP client for the Liquipedia API.
✨ Features
👌 Easy to use
🔥 Supports all Liquipedia API endpoints
🔨 Custom query builder
🧩 Extensible
📚 Well documented
🧪 Tested
📦 Installation
Supports PHP >= 8.2
composer require npldevfr/liquipedia-client
🚀 Usage
use Npldevfr\Liquipedia\ConditionsBuilder; use Npldevfr\Liquipedia\Liquipedia; use Npldevfr\Liquipedia\Meta\Endpoint; use Npldevfr\Liquipedia\Meta\Wiki; $liquipediaSdk = new Liquipedia('your-api-key'); // Get the last 10 matches of Team Liquid $matches = $liquipediaSdk->query() ->endpoint(Endpoint::MATCHES) ->wikis(Wiki::LEAGUE_OF_LEGENDS) ->rawConditions('[[opponent::Team Liquid]]') ->limit(10) ->orderBy('date', 'desc') ->get() );
🛠️ Development
git clone https://github.com/npldevfr/liquipedia-client
composer install
composer test
统计信息
- 总下载量: 859
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-29

