Skip to content

mjacobus/lever-api-client

Repository files navigation

Lever Client

This is a WIP Lever client. Documentation here.

Code information:

Build Status Coverage Status Code Climate Scrutinizer Code Quality StyleCI

Package information:

Latest Stable Version Total Downloads Latest Unstable Version License Dependency Status

Installing

Installing via Composer

Append the lib to your requirements key in your composer.json.

composer require mjacobus/lever-api-client

Usage

use Lever\Api\Client;

$client = new Client([
    'authToken' => '{myApiToken}',
]);

$postings = $client->get('/postings', [
    'limit' => 100,
]);

Issues/Features proposals

Here is the issue tracker.

Contributing

Only tested code will be accepted. Please follow fix the style guide.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

How to run the tests:

./vendor/bin/phpunit

To check the code standard run:

# Fixes code
./bin/php-cs-fix.sh

# outputs error
./bin/php-cs-fix.sh src true
./bin/php-cs-fix.sh test true

Lincense

This software is distributed under the MIT license.

Authors