jonathanraftery/bullhorn-rest-client

Simple REST client for the Bullhorn API, including automated OAuth2 login

dev-master 2018-04-26 11:11 UTC

README

This package provides a simple client for the Bullhorn REST API.

Installation

$ composer require jonathanraftery/bullhorn-rest-client

Usage

use jonathanraftery\Bullhorn\Rest\Client as BullhornClient;

$client = new BullhornClient(
    'client_id',
    'client_secret',
    'bullhorn_username',
    'bullhorn_password'
);

$response = $client->request(
    'GET',
    'search/JobOrder',
    ['query' => 'id:7777']
);