1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "employer_criteria": {
10 "role": "ESL Teacher (Elementary)",
11 "location": "Seoul",
12 "max_salary_krw": 3000000,
13 "must_haves": [
14 "native or near-native English",
15 "in Korea or 30 days",
16 ],
17 },
18 "candidate_answers": {
19 "name": "John Doe",
20 "current_location": "Seoul",
21 "visa_status": "E-2",
22 "years_experience": 3,
23 "age_groups_taught": "elementary, middle school",
24 "why_teaching": "I love helping children learn and grow",
25 "enjoy_about_teaching": "Seeing students progress and gain confidence",
26 "teaching_challenges": "Managing different learning styles - I adapt my approach",
27 "education_background": "Bachelor's in Education, TESOL certified",
28 "previous_locations": "Korea, China",
29 "availability": "Immediate",
30 "salary_expectation_krw": 2800000,
31 "sample_intro": "I use interactive games and activities to make learning fun",
32 "spoken_intro_transcript": "Hello, my name is John and I have three years of experience teaching English to elementary students.",
33 "spoken_intro_audio_base64": "",
34 },
35}
36
37
38run = client.actor("seoulcommerce/ai-candidate-screener").call(run_input=run_input)
39
40
41print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
42for item in client.dataset(run["defaultDatasetId"]).iterate_items():
43 print(item)
44
45