2017 © Pedro Peláez
 

library jobs-dice

Making it simple to integrate your application with Dice Jobs API.

image

jobapis/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  • Saturday, October 28, 2017
  • by karllhughes
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1,370 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 11 Versions
  • 13 % Grown

The README.md

Dice Jobs Client

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

DEPRECATION NOTICE: As of October, 2017 the Dice Jobs API has been shut down. Dice has given me no reason for this, but there's nothing I can do about it. This library no longer works, and everything outlined below is just here for history's sake., (*2)

To contact Dice, please fill out this form on their website., (*3)

~~This package provides Dice Jobs API support for the JobBrander's Jobs Client.~~, (*4)

Installation

To install, use composer:, (*5)

composer require jobapis/jobs-dice

Usage

Create a Query object and add all the parameters you'd like via the constructor., (*6)

// Add parameters to the query via the constructor
$query = new JobApis\Jobs\Client\Queries\DiceQuery([
    'text' => 'engineering'
]);

Or via the "set" method. All of the parameters documented in the API's documentation can be added., (*7)

// Add parameters via the set() method
$query->set('skill', 'soldering');

You can even chain them if you'd like., (*8)

// Add parameters via the set() method
$query->set('state', 'Illinois')
    ->set('city', 'Chicago')
    ->set('country', 'United States');

Then inject the query object into the provider., (*9)

// Instantiating provider with a query object
$client = new JobApis\Jobs\Client\Provider\DiceProvider($query);

And call the "getJobs" method to retrieve results., (*10)

// Get a Collection of Jobs
$jobs = $client->getJobs();

This will return a Collection of Job objects., (*11)

Testing

To run all tests except for actual API calls ``` bash $ ./vendor/bin/phpunit, (*12)


To run all tests including actual API calls ``` bash $ REAL_CALL=1 ./vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details., (*13)

Credits

License

The Apache 2.0. Please see License File for more information., (*14)

The Versions

28/10 2017

dev-master

9999999-dev https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

08/09 2016

1.0.1

1.0.1.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

03/09 2016

1.0.0

1.0.0.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

02/09 2016

1.0.0-alpha

1.0.0.0-alpha https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

28/09 2015

0.3.0

0.3.0.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

12/08 2015

0.2.4

0.2.4.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

25/07 2015

0.2.3

0.2.3.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

04/07 2015

0.2.2

0.2.2.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

07/06 2015

0.2.1

0.2.1.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

02/05 2015

0.2.0

0.2.0.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice

18/04 2015

0.1.0

0.1.0.0 https://github.com/JobBrander/jobs-dice

Making it simple to integrate your application with Dice Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client dice