1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "search": {
11 "sources": [
12 "linkedin",
13 "remote_boards",
14 "builtin",
15 "justjoinit",
16 "nofluffjobs",
17 "hackernews",
18 "ycombinator_was",
19 "wttj",
20 "infojobs",
21 "tecnoempleo",
22 ],
23 "keywords": ["software engineer"],
24 "location": "Madrid",
25 "remoteOnly": False,
26 "postedWithinDays": 7,
27 "maxItemsPerSource": 3,
28 "concurrency": 3,
29 "sourceTimeoutSecs": 120,
30 },
31 "maxItems": 3,
32 "candidateProfile": {
33 "primaryRole": "Software Engineer",
34 "targetTerms": [
35 "Software Engineer",
36 "Backend Engineer",
37 "Full Stack Engineer",
38 "Platform Engineer",
39 ],
40 "skills": [
41 "Python",
42 "TypeScript",
43 "JavaScript",
44 "React",
45 "Node.js",
46 "SQL",
47 "PostgreSQL",
48 "Docker",
49 "Kubernetes",
50 "AWS",
51 "REST APIs",
52 "Git",
53 "CI/CD",
54 ],
55 "seniorityLevels": [
56 "mid",
57 "senior",
58 ],
59 "yearsExperience": 8,
60 "workableLanguages": [{
61 "language": "English",
62 "level": "professional",
63 "evidence": "Example profile: professional working proficiency",
64 }],
65 "workableLanguagesComplete": False,
66 "acceptedWorkArrangements": [
67 "remote",
68 "hybrid",
69 "onsite",
70 ],
71 "remoteLocations": ["Worldwide"],
72 "hybridLocations": ["Worldwide"],
73 "onsiteLocations": ["Worldwide"],
74 "workArrangementPreferencesComplete": False,
75 "acceptedContractTypesComplete": False,
76 "freeText": "Software engineer with eight years of experience building and operating backend and full-stack web services in Python, TypeScript and SQL, deployed on AWS with Docker and Kubernetes.",
77 },
78 "resultMode": "shortlist",
79 "minDeliveryScore": 2,
80 "aiConcurrency": 2,
81}
82
83
84run = client.actor("nomad-agent/ai-job-fit-scorer").call(run_input=run_input)
85
86
87print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
88for item in client.dataset(run.default_dataset_id).iterate_items():
89 print(item)
90
91