1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "target_job_titles": [
12 "Senior Software Engineer",
13 "Staff Engineer"
14 ],
15 "locations": [
16 "San Francisco",
17 "Remote"
18 ],
19 "preferred_skills": [
20 "Python",
21 "Go",
22 "AWS"
23 ],
24 "undesirable_skills": [],
25 "preferred_industries": [
26 "Technology",
27 "Fintech"
28 ],
29 "undesirable_industries": [],
30 "experience_levels": [
31 "Senior",
32 "Lead"
33 ],
34 "additional_requirements": "Prefer companies with <500 employees. Looking for startup or scale-up environment with good work-life balance. Not interested in consulting, agencies, or defense contractors."
35};
36
37
38const run = await client.actor("jobo.world/ai-deep-job-search").call(input);
39
40
41console.log('Results from dataset');
42console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
43const { items } = await client.dataset(run.defaultDatasetId).listItems();
44items.forEach((item) => {
45 console.dir(item);
46});
47
48