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
12 Software Developer
13 Email: john@example.com | Phone: 555-0123
14
15 PROFESSIONAL SUMMARY
16 Motivated software developer with 3 years of experience in web development. Proficient in JavaScript, React, and Node.js.
17
18 EXPERIENCE
19 Junior Software Developer
20 Tech 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
25 EDUCATION
26 Bachelor of Science in Computer Science
27 State University | 2020
28
29 SKILLS
30 Languages: JavaScript, HTML, CSS, Python
31 Frameworks: React, Node.js, Express
32 Tools: Git, VS Code
33 Databases: 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