1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "resumeText": `John Doe
12Software Developer
13Email: john@example.com | Phone: 555-0123
14
15PROFESSIONAL SUMMARY
16Motivated software developer with 3 years of experience in web development. Proficient in JavaScript, React, and Node.js.
17
18EXPERIENCE
19Junior Software Developer
20Tech Solutions Inc. | 2021 - Present
21- Developed responsive web applications using React and Redux
22- Implemented RESTful APIs with Node.js and Express
23- Participated in code reviews and Agile sprints
24
25EDUCATION
26Bachelor of Science in Computer Science
27State University | 2020
28
29SKILLS
30Languages: JavaScript, HTML, CSS, Python
31Frameworks: React, Node.js, Express
32Tools: Git, VS Code
33Databases: MongoDB, MySQL`,
34 "targetRole": "Senior Full Stack Engineer",
35 "targetCompany": "",
36 "experienceLevel": "mid",
37 "additionalContext": ""
38};
39
40
41const run = await client.actor("unique_penguin/ai-resume-gap-analyzer").call(input);
42
43
44console.log('Results from dataset');
45console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
46const { items } = await client.dataset(run.defaultDatasetId).listItems();
47items.forEach((item) => {
48 console.dir(item);
49});
50
51