@chilesh/getonbrd-scraper

1.0.4 • Public • Published

getonbrd-scraper

Getonbrd jobs scraping library

Install

yarn add @chilesh/getonbrd-scraper

# or npm i @chilesh/getonbrd-scraper

Usage

import GetOnBrd from '@chilesh/getonbrd-scraper'

const run = async () => {
  // GetOnBrd('your_session_cookie')
  const getonbrd = await GetOnBrd('SGExS1Nkb2dX...')

  // get jobs by salary range
  const jobs = await getonbrd.getJobsBySalary(1000, 2000)

  // or navigate using an offset
  const moreJobs = await getonbrd.getJobsBySalary(1000, 2000, 25)

  // get a job description
  const job = await getonbrd.getJob(moreJobs.urls[0])

  // get a company profile
  const company = await getonbrd.getCompanyProfile(job.company.url)
}

run()

Test

SESSION=SGEkbko2d... yarn test

# or use env file

cp .env.example .env
# set your session token

yarn test

License

MIT

/@chilesh/getonbrd-scraper/

    Package Sidebar

    Install

    npm i @chilesh/getonbrd-scraper

    Weekly Downloads

    1

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    8.77 kB

    Total Files

    8

    Last publish

    Collaborators

    • mallendeo