UNPKG

job-hoarder

Version:

Job board aggregator to pull in standardized job postings from company job pages

37 lines (36 loc) 883 B
declare type GreehouseParams = { companyId: string; }; export default class Greenhouse implements JobClient { private companyId; private parser; constructor(params?: string | GreehouseParams); /** * Gets jobs from job board * @returns {array} List of jobs */ getJobs(): Promise<{ id: string; url: string; title: string; datePosted: Date; jobLocation: string; department: string; description: string; }[]>; /** * Gets job details from job board * @param {string} id Id of job to retrieve * @returns {object} Job assigned to Id */ getJob(id: string): Promise<{ id: string; url: string; title: string; datePosted: Date; jobLocation: string; department: string; description: string; }>; } export {};