steadfast/upwork-jobs-reader

There is no license information available for the latest version (1.2) of this package.

Upwork Jobs Reader

1.2 2018-11-01 08:28 UTC

README

Latest Stable Version Total Downloads License

Upwork Jobs Reader gives the ability to get the last 30 jobs from Upwork RSS feed.

Installation

php composer require steadfast/upwork-jobs-reader

Usage

$reader = UpworkJobsReader;
$jobs = $reader->fetchJobs();

foreach($jobs as $job) {
  echo $job->title;
  echo $job->link;
  echo $job->description;
  echo $job->created_date;
  echo $job->posted_date;
  echo $job->category
  echo $job->country;
  echo $job->skills;
  echo $job->budget;
}

Filters

Sort by newest jobs:

$reader->setSortBy(UpworkJobsReader::SORT_NEWEST);

Sort by relevance jobs:

$reader->setSortBy(UpworkJobsReader::SORT_RELEVANCE);

Sort by client money spending:

$reader->setSortBy(UpworkJobsReader::SORT_CLIENT_SPENDING);

Sort by client rating:

$reader->setSortBy(UpworkJobsReader::SORT_CLIENT_RATING);