ely/mojang-api
最新稳定版本:0.2.1
Composer 安装命令:
composer require ely/mojang-api
包简介
Library for access to Mojang API.
README 文档
README
This package provides easy access to the Minecraft related API of Mojang. The library is built on the top of the Guzzle HTTP client, has custom errors handler and automatic retry in case of problems with Mojang.
Installation
To install, use composer:
composer require ely/mojang-api
Usage
To start using this library just create a new Api class instance and call the necessary endpoint:
<?php $api = new \Ely\Mojang\Api(); $response = $api->usernameToUUID('erickskrauch'); echo $response->getId();
Testing
$ ./vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
This package was designed and developed within the Ely.by project team. We also thank all the contributors for their help.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 12.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-01