2017 © Pedro Peláez
 

library jobs-usajobs

Making it simple to integrate your application with the USAJOBS API.

image

jobapis/jobs-usajobs

Making it simple to integrate your application with the USAJOBS API.

  • Friday, October 7, 2016
  • by karllhughes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,748 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

USAJOBS Jobs Client

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

This package provides USAJOBS Job Search API support for Jobs Common., (*2)

Installation

To install, use composer:, (*3)

composer require jobapis/jobs-usajobs

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\UsajobsQuery([
    'AuthorizationKey' => YOUR_API_KEY
]);

Or via the "set" method. All of the parameters documented can be added., (*5)

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

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

// Add parameters via the set() method
$query->set('LocationName', 'Chicago, IL')
    ->set('JobCategoryCode', '1234');

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

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

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

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

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

Testing

``` bash $ ./vendor/bin/phpunit, (*10)


If you want to run a complete integration test, you need to provide your API Key: ``` bash $ AUTHORIZATION_KEY=<YOUR_API_KEY> ./vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details., (*11)

Credits

License

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

The Versions

07/10 2016

dev-master

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

Making it simple to integrate your application with the USAJOBS API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client usajobs

07/10 2016

0.2.0

0.2.0.0 https://github.com/jobapis/jobs-usajobs

Making it simple to integrate your application with the USAJOBS API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client usajobs

17/09 2016

0.1.0

0.1.0.0 https://github.com/jobapis/jobs-usajobs

Making it simple to integrate your application with the USAJOBS API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client usajobs