1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "resumeText": `EDUCATION
12Master of Science in Computer Science
13Stanford University | 2018-2020 | GPA: 3.8/4.0
14
15Bachelor of Technology in Computer Science
16IIT Delhi | 2014-2018 | GPA: 3.9/4.0
17
18WORK EXPERIENCE
19Senior Software Engineer | Google Inc. | June 2020 - Present (5 years)
20โข Led microservices migration for payment systems
21โข Reduced API latency by 40% through optimization
22โข Mentored team of 5 junior engineers
23
24Software Engineer Intern | Microsoft | Summer 2019
25โข Built data analytics dashboard using React and Python
26
27SKILLS
28Technical: Python, Java, JavaScript, React, Node.js, AWS, Docker, Kubernetes, PostgreSQL
29Soft Skills: Team Leadership, Agile/Scrum, Technical Documentation`,
30 "jobTitle": "Software Engineer",
31 "jobDescription": "",
32 "location": "San Francisco, CA",
33 "attorneyBranding": ""
34};
35
36
37const run = await client.actor("humorous_eccentric/h1b-eligibility-checker").call(input);
38
39
40console.log('Results from dataset');
41console.log(`๐พ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
42const { items } = await client.dataset(run.defaultDatasetId).listItems();
43items.forEach((item) => {
44 console.dir(item);
45});
46
47