dasbit/apiclient
Composer 安装命令:
composer require dasbit/apiclient
包简介
Simple api client wrapper without throwing exceptions with statuscodes
关键字:
README 文档
README
Simple api client wrapper without throwing exceptions with statuscodes
Install
Via Composer
$ composer require dasbit/apiclient
Usage
$api = new dasbit\apiclient(new Guzzle, 'https://example-host.com/api'); $api->authenticate('login', 'password'); $response = $api->request('/entity-list'); $code = $response['code']; $responseBody = $response['body']; // assoc array of decoded json string
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email abylhasov@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-13