gentor/kayako-php-api

Kayako Rest API PHP SDK

dev-master 2018-12-12 19:25 UTC

This package is auto-updated.

Last update: 2024-09-13 11:43:01 UTC


README

Kayako Rest API PHP SDK

安装

使用composer安装

composer require gentor/kayako-php-api

使用方法

$client = new Client([
    'base_url' => 'base_url',
    'client_id' => 'client_id',
    'client_secret' => 'client_secret',
    'username' => 'username',
    'password' => 'password',
]);
  • 创建用户
$user = $client->users->create([
    'role_id' => 4,
    'full_name' => 'API User',
    'email' => 'api.user@test.com'
]);

文档

Kayako API