Keka API的包装器

v1.0.9 2020-03-23 08:30 UTC

This package is auto-updated.

Last update: 2024-09-23 18:57:40 UTC


README

Issues Stars

##由Successive技术实现的Keka API包装器

##首先在配置文件夹中的keka.php文件中设置凭据

  • keka_client_id => 'your_keka_client_id'
  • keka_secret_key => 'your_keka_secret_key'
  • api_key => 'your_api_key'
use Successive\Keka\Http\Services\EmployeeService;

$employeeService = new EmployeeService();
$response = $employeeService->getEmployees(['pagesize' => 400]);
$response = $employeeService->getEmployeeByEmpNo('employeenumber');
$response = $employeeService->currentMonthBirthdays();
$response = $employeeService->currentMonthJoinees();