1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "jobDescription": `Senior Growth Rockstar
12
13We are looking for a young and energetic digital native to join our fast-paced team in London. The ideal candidate is a native English speaker who can work long hours under pressure, travel at short notice, and thrive in a work-hard-play-hard culture. Must have 10+ years of SaaS experience and be able to lift office equipment when needed. Competitive salary. Remote friendly.`
14};
15
16
17const run = await client.actor("trovevault/jd-bias-compliance-risk-auditor").call(input);
18
19
20console.log('Results from dataset');
21console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
22const { items } = await client.dataset(run.defaultDatasetId).listItems();
23items.forEach((item) => {
24 console.dir(item);
25});
26
27