1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searches": [
10 {
11 "keywords": "Product Designer",
12 "location": "United States",
13 "postedWithin": "past-week",
14 "workplaceType": "remote",
15 },
16 {
17 "keywords": "Growth Marketer",
18 "location": "London",
19 "postedWithin": "past-month",
20 "workplaceType": "hybrid",
21 },
22 ],
23 "searchKeywords": "Product Designer",
24 "searchLocation": "United States",
25 "jobs": [{
26 "title": "Product Designer",
27 "company": "ExampleCo",
28 "location": "United States",
29 "url": "https://www.linkedin.com/jobs/view/1234567890/",
30 "description": "Own Figma prototyping, user research, design systems, and product collaboration.",
31 }],
32 "candidateProfile": {
33 "targetRoles": ["Product Designer"],
34 "coreSkills": [
35 "figma",
36 "design systems",
37 "user research",
38 ],
39 "avoidKeywords": [
40 "internship",
41 "unpaid",
42 ],
43 },
44}
45
46
47run = client.actor("immense_greenery/linkedin-application-copilot").call(run_input=run_input)
48
49
50print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
51for item in client.dataset(run["defaultDatasetId"]).iterate_items():
52 print(item)
53
54