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 "titleExclude": [
27 "intern",
28 "junior",
29 ],
30 "postedWithinDays": 7,
31 "maxItemsPerSource": 3,
32 "cacheTtlSeconds": 1800,
33 "concurrency": 3,
34 "sourceTimeoutSecs": 120,
35 },
36 "maxItems": 3,
37 "candidateProfile": {
38 "primaryRole": "Software Engineer",
39 "targetTerms": [
40 "Software Engineer",
41 "Backend Engineer",
42 "Full Stack Engineer",
43 "Platform Engineer",
44 ],
45 "skills": [
46 "Python",
47 "TypeScript",
48 "JavaScript",
49 "React",
50 "Node.js",
51 "SQL",
52 "PostgreSQL",
53 "Docker",
54 "Kubernetes",
55 "AWS",
56 "REST APIs",
57 "Git",
58 "CI/CD",
59 ],
60 "seniorityLevels": [
61 "mid",
62 "senior",
63 ],
64 "yearsExperience": 8,
65 "workableLanguages": [{
66 "language": "English",
67 "level": "professional",
68 "evidence": "Example profile: professional working proficiency",
69 }],
70 "workableLanguagesComplete": False,
71 "acceptedWorkArrangements": [
72 "remote",
73 "hybrid",
74 "onsite",
75 ],
76 "remoteLocations": ["Worldwide"],
77 "hybridLocations": ["Worldwide"],
78 "onsiteLocations": ["Worldwide"],
79 "workArrangementPreferencesComplete": False,
80 "acceptedContractTypesComplete": False,
81 "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.",
82 },
83 "resultMode": "shortlist",
84 "minDeliveryScore": 2,
85 "aiConcurrency": 2,
86}
87
88
89run = client.actor("job-atlas/ai-job-fit-scorer").call(run_input=run_input)
90
91
92print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
93for item in client.dataset(run.default_dataset_id).iterate_items():
94 print(item)
95
96