humantech/zoho-recruit-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

humantech/zoho-recruit-api

最新稳定版本:v1.1.0

Composer 安装命令:

composer require humantech/zoho-recruit-api

包简介

Zoho Recruit API

README 文档

README

PHP Zoho Recruit API.

Dependencies

  • PHP 5.5;
  • guzzlehttp/guzzle:~6.0.

Installation

The installation process can be performed by two ways, using the packagist or cloning this repository.

Packagist

Open a terminal and tip the below command:

$ composer require humantech/zoho-recruit-api

Cloning

$ git clone https://github.com/humantech/zoho-recruit-api.git
$ composer install

Documentation

This package is compatible with PSR-2 and PSR-4.

Getting the Auth Token

To get the Auth token you have that instance a class called AuthenticationClient and pass two parameters to a method called generateAuthToken, a username and a plain password like the example below.

<?php

$authClient = new \Humantech\Zoho\Recruit\Api\Client\AuthenticationClient();

$token = $authClient->generateAuthToken('youruser@yourcompany.com', 'your-password');

Calling the getRecords

Given the Zoho Recruit Api documentation to method getRecords, you can get the records from Candidates like the following example:

<?php

$client = new \Humantech\Zoho\Recruit\Api\Client\Client($token);

$jobOpenings = $client->getRecords('JobOpenings');

More

See more examples in the demo file or in PHPUnit test classes.

License

This package is under the MIT license. See the complete license.

统计信息

  • 总下载量: 5.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-02