1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companies": [
12 {
13 "name": "Tamara",
14 "careersUrl": "https://boards.greenhouse.io/tamara",
15 "website": "https://tamara.co"
16 },
17 {
18 "name": "Ziina",
19 "careersUrl": "https://jobs.ashbyhq.com/ziina",
20 "website": "https://ziina.com"
21 },
22 {
23 "name": "Nium",
24 "careersUrl": "https://jobs.lever.co/nium",
25 "website": "https://www.nium.com"
26 },
27 {
28 "name": "Salla",
29 "careersUrl": "https://apply.workable.com/salla",
30 "website": "https://salla.sa"
31 },
32 {
33 "name": "NVIDIA",
34 "careersUrl": "https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite",
35 "website": "https://www.nvidia.com"
36 }
37 ],
38 "trackingId": "my-target-accounts",
39 "filters": {
40 "functions": [],
41 "countries": [],
42 "seniority": [],
43 "titleKeywords": [],
44 "excludeTitleKeywords": []
45 },
46 "maxJobsPerCompany": 200,
47 "proxyConfiguration": {
48 "useApifyProxy": true
49 }
50};
51
52
53const run = await client.actor("almoutasem_nabil/hiring-signals-monitor").call(input);
54
55
56console.log('Results from dataset');
57console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
58const { items } = await client.dataset(run.defaultDatasetId).listItems();
59items.forEach((item) => {
60 console.dir(item);
61});
62
63