0.0.4 • Published 4 years ago

@koidu/job-scraper v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Job Scraper

NPM CircleCI npm (scoped)

Scrape major job websites and return the data in a common format

  • NOTE: this package is under active development and subject to change until the API is stable in v1.0.0

Getting Started

Installation

npm install @koidu/job-scraper --save

or

yarn add @koidu/job-scraper

Usage

Job Scraper returns jobs in a JobPosting format.

JobPosting

keytypedescriptionexample
sourceIdstringthe id from the source job boardindeed:jobPosting:11be61a5bcbb4d00
companystringthe company of the job postingGoogle
titlestringthe title or positionSoftware Engineer I
urlstringthe url for the job posting on the job board sitehttps://www.indeed.com/viewjob?jk=11be61a5bcbb4d00
applyUrlstringthe url provided by the job board to apply for the jobhttps://www.indeed.com/viewjob?jk=11be61a5bcbb4d00&from=vj
locationstringlocation of the jobAtlanta, GA
postDateTextstringwhen the job was posted as a string from the job site5 days ago

JobScraper

Example

const { JobScraper } = require('@koidu/job-scraper');

async function getJobs() {
  const jobs = await JobScraper.searchJobs('indeed', {
    searchTerm: 'nodejs developer',
    location: 'atlanta, ga',
    radius: '10',
    limit: 50, // indeed has a limit of 50
  });
  return jobs;
}
0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago