1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "fullName": "Alexandra Chen",
12 "professionalTitle": "Senior Full-Stack Engineer",
13 "email": "alex.chen@email.com",
14 "phone": "+1 (415) 892-7643",
15 "location": "San Francisco, CA",
16 "summary": "Passionate full-stack engineer with 8+ years building scalable distributed systems and leading high-performing engineering teams.",
17 "experience": [
18 {
19 "company": "Stripe",
20 "role": "Senior Staff Engineer",
21 "dates": "Jan 2023 β Present",
22 "location": "San Francisco, CA",
23 "desc": "Architected payment pipeline handling 14M+ transactions daily;Led team of 12 engineers delivering migration 6 weeks early;Designed fraud detection system reducing chargebacks by 34%"
24 }
25 ],
26 "education": [
27 {
28 "school": "Stanford University",
29 "degree": "M.S. Computer Science",
30 "dates": "2015 β 2017",
31 "details": "Focus: Distributed Systems Β· GPA 3.94/4.0"
32 }
33 ],
34 "skills": [
35 "Python",
36 "TypeScript",
37 "React",
38 "AWS",
39 "Docker",
40 "PostgreSQL"
41 ]
42};
43
44
45const run = await client.actor("moving_beacon-owner1/my-actor-60").call(input);
46
47
48console.log('Results from dataset');
49console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
50const { items } = await client.dataset(run.defaultDatasetId).listItems();
51items.forEach((item) => {
52 console.dir(item);
53});
54
55