2017 © Pedro Peláez
 

library jobs-govt

Making it simple to integrate your application with the Government Jobs API.

image

jobapis/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  • Saturday, September 3, 2016
  • by karllhughes
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,656 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 13 Versions
  • 11 % Grown

The README.md

Government Jobs Client

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

This package provides Government Jobs API support for the Jobs Common Project., (*2)

Installation

To install, use composer:, (*3)

composer require jobapis/jobs-govt

Usage

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

// Add parameters to the query via the constructor
$query = new JobApis\Jobs\Client\Queries\GovtQuery([
    'hl' => '1'
]);

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

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

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

// Add parameters via the set() method
$query->set('size', '100')
    ->set('from', '200');

Note: The government jobs API doesn't support adding location as a parameter, but their keyword or lat_lon parameters can be used for this purpose., (*7)

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

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

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

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

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

Testing

bash $ ./vendor/bin/phpunit, (*11)

Contributing

Please see CONTRIBUTING for details., (*12)

Credits

License

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

The Versions

03/09 2016

dev-master

9999999-dev https://github.com/jobapis/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

03/09 2016

1.0.0

1.0.0.0 https://github.com/jobapis/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

02/09 2016

1.0.0-alpha

1.0.0.0-alpha https://github.com/jobapis/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

29/09 2015

0.6.0

0.6.0.0 https://github.com/JobBrander/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

14/08 2015

0.5.0

0.5.0.0 https://github.com/JobBrander/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

25/07 2015

0.4.3

0.4.3.0 https://github.com/JobBrander/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

04/07 2015

0.4.2

0.4.2.0 https://github.com/JobBrander/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

07/06 2015

0.4.1

0.4.1.0 https://github.com/JobBrander/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

16/05 2015

0.4.0

0.4.0.0 https://github.com/JobBrander/jobs-govt

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

09/05 2015

0.3.0

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

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

03/05 2015

0.2.1

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

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

02/05 2015

0.2.0

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

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs

16/04 2015

0.1.0

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

Making it simple to integrate your application with the Government Jobs API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client government jobs