2017 © Pedro Peláez
 

library jobs-elance

Making it simple to integrate your application with Elance API.

image

jobbrander/jobs-elance

Making it simple to integrate your application with Elance API.

  • Monday, August 31, 2015
  • by stevenmaguire
  • Repository
  • 2 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Elance Jobs Client

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

This package provides Elance Jobs API support for the JobBrander's Jobs Client., (*2)

This package is intended to be used for communicating with the Elance's API after you've secured an access token from your users. To authenticate users and retrieve access tokens, use stevenmaguire/oauth2-elance., (*3)

Installation

To install, use composer:, (*4)

composer require jobbrander/jobs-elance

Usage

Usage is the same as Job Branders's Jobs Client, using \JobBrander\Jobs\Client\Provider\Elance as the provider., (*5)

$client = new JobBrander\Jobs\Client\Provider\Elance([
    'token' => 'ELANCE ACCESS TOKEN',
]);

$jobs = $client->setKeyword('designer') // A space-delimited list of keywords to search. If omitted, search returns a list of all jobs.
    ->setCategory(1)               // A positive integer representing a category ID that restricts search results to jobs in the specified category. A list of valid category IDs and associated names is available through the categories method. If the value of catFilter does not correspond to an existing category ID, the method returns an empty result set.
    ->setSubCategory(1)            // A positive integer representing a subcategory ID that restricts search results to jobs in the specified subcategory. A list of valid subcategory IDs and associated names is available through the categories method. If the value of subcatFilter does not correspond to an existing category ID, the method returns an empty result set.
    ->setType('startDate')         // The property by which to sort results. Valid values are: budget, numProposals, startDate, endDate
    ->setSort('asc')               // The sort order of the results (ascending or descending). If this value is specified without sortCol, it is ignored. Valid values are: asc, desc; The default is desc.
    ->setPage(2)                   // The requested page of result sets, numbered beginning from 1. Default is 1. If this number exceeds the value of the response property totalPages, the response will contain zero results.
    ->setCount(25)                 // The number of results requested per page. The default is 20. If more than 25 are requested, only 25 results are included in the response.
    ->getJobs();

The getJobs method will return a Collection of Job objects., (*6)

Testing

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

Contributing

Please see CONTRIBUTING for details., (*8)

Credits

License

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

The Versions

31/08 2015

dev-master

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

Making it simple to integrate your application with Elance API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client elance

14/08 2015

0.1.0

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

Making it simple to integrate your application with Elance API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

jobs object api client elance