fastwebmedia/hive-api

Hive API 的包装器。

4.0.1 2015-10-08 08:50 UTC

This package is not auto-updated.

Last update: 2024-09-24 03:46:07 UTC


README

Build Status

安装

composer require fastwebmedia/hive

然后需要添加服务提供者

'FWM\Hive\HiveServiceProvider'

最后发布配置

php artisan vendor:publish

用法

您应该首先更新配置文件,包括 URL 和访问令牌,以便可以通过 Hive API 发送请求。

$client = new FWM\Hive\Client();
return $client->api('user')->getUser('hello@fastweb.media');

文档

即将推出 - 目前请查看代码和用户 API 类以查看可用方法。