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
12 Master of Science in Computer Science
13 Stanford University | 2018-2020 | GPA: 3.8/4.0
14
15 Bachelor of Technology in Computer Science
16 IIT Delhi | 2014-2018 | GPA: 3.9/4.0
17
18 WORK EXPERIENCE
19 Senior 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
24 Software Engineer Intern | Microsoft | Summer 2019
25 โข Built data analytics dashboard using React and Python
26
27 SKILLS
28 Technical: Python, Java, JavaScript, React, Node.js, AWS, Docker, Kubernetes, PostgreSQL
29 Soft 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