1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "resumes": [
10 {
11 "id": "candidate-001",
12 "text": """Alex Morgan
13Senior Backend Engineer
14alex.morgan@example.com | +1 555 0100 | Austin, TX, USA
15
16SUMMARY
17Backend engineer with nine years of experience building APIs and data pipelines in Python on AWS.
18
19EXPERIENCE
20Senior Backend Engineer, Acme Analytics
21Jan 2021 - Present
22- Built Python and Django services on AWS, PostgreSQL and Redis
23- Moved deployments to Docker and Kubernetes
24
25Software Engineer, Contoso Labs
26Jun 2017 - Dec 2020
27- Developed REST APIs in Python and Flask
28- Wrote data pipelines with SQL and Airflow
29
30EDUCATION
31BSc Computer Science, Example State University, 2013 - 2017
32
33SKILLS
34Python, Django, Flask, PostgreSQL, Redis, AWS, Docker, Kubernetes, SQL, Airflow""",
35 },
36 {
37 "id": "candidate-002",
38 "text": """Sam Taylor
39Marketing Coordinator
40sam.taylor@example.com | London, UK
41
42EXPERIENCE
43Marketing Coordinator, Northwind Retail
44Sep 2022 - Present
45- Ran email campaigns in HubSpot and reported results in Google Analytics
46- Managed social media calendars
47
48EDUCATION
49BA Marketing, Example University, 2019 - 2022
50
51SKILLS
52HubSpot, Google Analytics, SEO, Copywriting""",
53 },
54 ],
55 "jobTitle": "Senior Backend Engineer",
56 "jobDescription": "We are hiring a Senior Backend Engineer with 5+ years of experience. You will build APIs in Python and Django on AWS with PostgreSQL, and run services on Docker and Kubernetes.",
57 "jobLocation": "Remote - US",
58}
59
60
61run = client.actor("keith-apis/resume-parser-job-match").call(run_input=run_input)
62
63
64print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
65for item in client.dataset(run.default_dataset_id).iterate_items():
66 print(item)
67
68