glowgaia/grabbit
最新稳定版本:v4.0.4
Composer 安装命令:
composer require glowgaia/grabbit
包简介
A SaloonPHP-based SDK for Gaia Online's GSI API
README 文档
README
Grabbit is a Saloon-based SDK for Gaia Online. The goal is to provide developers with a more consistent and reliable way of interacting with Gaia's APIs, especially their Game System Interface (GSI).
use GlowGaia\Grabbit\Common\Connectors\GSIConnector; use GlowGaia\Grabbit\User\DTOs\UserInfo; use GlowGaia\Grabbit\User\Requests\GetInfo; $connector = new GSIConnector(); $response = $connector->user()->getInfo('Lanzer'); /** @var UserInfo $user */ $user = $response->dto(); $user->gaia_id; // 3
Structure
Gaia's GSI methods all exist under certain "domains". For the purposes of everyone's sanity, this library maps to those domains. The supported methods can be found by clicking into one of the domain folders and reading the README file.
Supported Domains
- Environment (partial)
- Inventory (partial)
- User (partial)
License
Please note that this library (as of version 4) is licensed under the Mozilla Public License 2.0. You may want to read Mozilla's FAQ to learn about the license.
Disclaimer
This project is not affiliated in any way with Gaia Online or Gaia Interactive.
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MPL-2.0
- 更新时间: 2024-03-19