1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "resumes": [
12 {
13 "text": "JANE MARTINEZ\nSan Francisco, CA | jane.martinez@example.com | (415) 555-0198 | linkedin.com/in/janemartinez\n\nSenior Backend Engineer\n\nSUMMARY\nBackend engineer with 8 years building high-throughput payment and data platforms. Comfortable owning services end to end.\n\nSKILLS\nGo, Python, PostgreSQL, Kafka, AWS, Kubernetes, gRPC, Terraform\n\nEXPERIENCE\nStaff Engineer, Ramp (Jan 2021 - Present)\nLed the ledger service handling 4M transactions per day. Cut p99 latency by 40 percent. Mentored 5 engineers.\n\nSenior Software Engineer, Stripe (Jun 2017 - Dec 2020)\nBuilt fraud scoring pipelines in Go and Kafka. Owned the disputes API.\n\nEDUCATION\nB.S. Computer Science, University of California Berkeley, 2015\n\nLINKS\nhttps://github.com/janemartinez"
14 }
15 ]
16};
17
18
19const run = await client.actor("scrapers_lat/resume-parser-tool").call(input);
20
21
22console.log('Results from dataset');
23console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
24const { items } = await client.dataset(run.defaultDatasetId).listItems();
25items.forEach((item) => {
26 console.dir(item);
27});
28
29