alexeevdv/carrot-quest-php-client
Composer 安装命令:
composer require alexeevdv/carrot-quest-php-client
包简介
PHP client for carrotquest.io Web API
README 文档
README
PHP client for carrotquest.io Web API
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require alexeevdv/carrot-quest-php-client "^0.1"
or add
"alexeevdv/carrot-quest-php-client": "^0.1"
to the require section of your composer.json file.
Configuration
$guzzle = new \GuzzleHttp\Client([ 'base_uri' => 'https://api.carrotquest.io', ]); $apiClient = new \alexeevdv\CarrotQuest\Client( 'your_auth_token_goes_here', $guzzle );
Implemented methods
Setting user properties
https://carrotquest.io/developers/endpoints/users/props/
interface ClientInterface { public function userSetProperties(int $userId, array $properties, $isCarrotQuestUser = true): void; }
统计信息
- 总下载量: 2.53k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-12