承接 npldevfr/liquipedia-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Latest Version on Packagist Tests Total Downloads

✨ 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

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-29