1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "greenhouse_boards": [
12 "stripe",
13 "airbnb",
14 "gitlab",
15 "coinbase",
16 "figma"
17 ],
18 "lever_companies": [
19 "spotify",
20 "netflix",
21 "kickstarter",
22 "plaid",
23 "nerdwallet"
24 ],
25 "ashby_organizations": [
26 "ramp",
27 "notion",
28 "openai",
29 "linear",
30 "vanta"
31 ],
32 "smartrecruiters_companies": [
33 "BoschGroup",
34 "Experian",
35 "Aramark",
36 "Alorica"
37 ]
38};
39
40
41const run = await client.actor("gettingtechnicl/ats-jobs-scraper").call(input);
42
43
44console.log('Results from dataset');
45console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
46const { items } = await client.dataset(run.defaultDatasetId).listItems();
47items.forEach((item) => {
48 console.dir(item);
49});
50
51