2017 © Pedro Peláez
 

library jobs-jobs2careers

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

image

jobapis/jobs-jobs2careers

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

  • Tuesday, February 14, 2017
  • by karllhughes
  • Repository
  • 2 Watchers
  • 3 Stars
  • 1,133 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 8 Versions
  • 41 % Grown

The README.md

JobApis.com Jobs2Careers Job Board API Client

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

About

This package makes it easy to connect your PHP project to the Jobs2Careers API. It uses the Jobs Common project to standardize responses using Schema.org's JobPosting specification., (*2)

Example

Getting jobs from the API just takes a couple lines of code:, (*3)

$query = new J2cQuery([
    'id' => YOUR_PUBLISHER_ID,
    'pass' => YOUR_PUBLISHER_PASSWORD,
    'q' => YOUR_KEYWORD_SEARCH,
    'l' => YOUR_LOCATION,
]);
$client = new J2cProvider($query);
$jobs = $client->getJobs();

See Usage section below for more detailed examples., (*4)

Mission

JobApis makes job board and company data more accessible through open source software. To learn more, visit JobApis.com, or contact us at admin@jobapis.com., (*5)

Requirements

Installation

To install, use composer:, (*6)

composer require jobapis/jobs-jobs2careers

Usage

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

// Add parameters to the query via the constructor
$query = new JobApis\Jobs\Client\Queries\J2cQuery([
    'id' => YOUR_PUBLISHER_ID,
    'pass' => YOUR_PUBLISHER_PASSWORD,
]);

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

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

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

// Add parameters via the set() method
$query->set('l', 'Chicago, IL')
    ->set('start', 10)
    ->set('limit', 20);

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

// Instantiating the Provider with a query object
$client = new JobApis\Jobs\Client\Providers\J2cProvider($query);

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

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

The getJobs() method will return a Collection of Job objects based on Schema.org's JobPosting specification., (*12)

Testing

  1. Clone this repository from Github.
  2. Install the dependencies with Composer: $ composer install.
  3. Run the test suite: $ ./vendor/bin/phpunit.
  4. (Optional) To run all tests including actual API calls: $ ID=<YOUR PUBLISHER ID> PASS=<YOUR PUBLISHER PASSWORD> ./vendor/bin/phpunit

Contributing

Contributions are welcomed and encouraged! Please see JobApis' contribution guidelines for details, or create an issue in Github if you have any questions., (*13)

Disclaimer

This package is not affiliated with or supported by :provider_name and we are not responsible for any use or misuse of this software., (*14)

License

This package uses the Apache 2.0 license. Please see the License File for more information., (*15)

Copyright 2017, Karl Hughes khughes.me@gmail.com., (*16)

The Versions

14/02 2017

dev-master

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

14/02 2017

2.0.0

2.0.0.0 https://github.com/jobapis/jobs-jobs2careers

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

15/10 2015

1.1.0

1.1.0.0 https://github.com/JobBrander/jobs-jobs2careers

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

15/10 2015

dev-location-update

dev-location-update https://github.com/JobBrander/jobs-jobs2careers

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

10/10 2015

1.0.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

14/08 2015

0.1.2

0.1.2.0 https://github.com/JobBrander/jobs-jobs2careers

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

25/07 2015

0.1.1

0.1.1.0 https://github.com/JobBrander/jobs-jobs2careers

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers

04/07 2015

0.1.0

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

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

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client jobs2careers