mcwnuq/php-bbb-api-wrapper
最新稳定版本:v1.0.1
Composer 安装命令:
composer require mcwnuq/php-bbb-api-wrapper
包简介
A PHP wrapper for BuiltByBit's Ultimate REST API.
README 文档
README
A PHP wrapper for BuiltByBit's HTTP API.
- Full coverage of the API.
- Type hinting used for IDE autocomplete & readability.
- Requests are dynamically stalled to stay within rate limiting rules.
- No dependencies other than cURL - clone this repository and go!
Usage
An extensive list of examples can be found under the /examples directory.
<?php require __DIR__ . "/../src/APIWrapper.php"; $token = new APIToken(TokenType::PRIVATE, "Find @ https://builtbybit.com/account/api"); $wrapper = new APIWrapper(); if ($error = $wrapper->initialise($token)->getError()) { die("API initialisation error: ". $error["message"]); } echo $wrapper->members()->fetch(87939)->getData()["username"];
Issues & Support
Whether you're wanting to report a bug you've come across during use of this wrapper or are seeking general help/assistance, please utilise the issues tracker and tag your issue appropriately during creation.
I try to respond to issues within a reasonable timeframe.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-16