1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sp_intended_usage": "Describe your intended use...",
10 "sp_improvement_suggestions": "Share your suggestions here...",
11 "sp_contact": "Share your email here...",
12 "cvText": """John Smith
13Software Engineer | 5 years experience
14
15Experience:
16- Software Engineer at Acme Corp (2020–present): Built REST APIs with Node.js, led team of 3.
17- Junior Dev at StartupXYZ (2018–2020): Frontend React work, improved page load by 40%.
18
19Skills: JavaScript, TypeScript, Node.js, React, PostgreSQL, Docker
20Education: B.Sc Computer Science, State University 2018""",
21 "jobDescription": """Senior Full-Stack Engineer at TechCorp
22
23We are looking for a Senior Full-Stack Engineer with 5+ years of experience.
24
25Required:
26- 5+ years of software engineering experience
27- Proficiency in TypeScript, Node.js, and React
28- Experience with cloud platforms (AWS, GCP, or Azure)
29- Strong knowledge of SQL and NoSQL databases
30- Experience with CI/CD pipelines and DevOps practices
31
32Nice to have:
33- Kubernetes / Docker experience
34- Experience mentoring junior engineers
35- GraphQL knowledge""",
36 "model": "gpt-4o-mini",
37}
38
39
40run = client.actor("jungle_synthesizer/ai-resume-cv-optimizer").call(run_input=run_input)
41
42
43print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
44for item in client.dataset(run["defaultDatasetId"]).iterate_items():
45 print(item)
46
47