hegartymaths / groove-api
v0.4.5
2018-03-20 14:16 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^6.3
- tightenco/collect: ^5.5
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^6.0
- satooshi/php-coveralls: ^2.0
README
PHP 中 Groove API 的简单包装。
要求
- PHP >= 7.0.0
安装
通过 Composer 安装。
$ composer require hegartymaths/groove-api
基本用法
通过公司子域名访问 API 设置页面 (/groove_client/settings/api),以查找您的私有令牌。
use Groove\Client; $client = new Client('private-token'); $tickets = $client->tickets()->list();