1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "titles": ["Software Engineer"],
10 "locations": ["United States"],
11 "startUrls": [],
12 "companyIds": [],
13 "companyUrls": [],
14 "companyNames": [],
15 "mode": "detailed",
16 "maxItems": 3,
17 "maxRowsPerSearch": 0,
18 "companyProfile": True,
19 "datePosted": "anyTime",
20 "easyApply": False,
21 "under10Applicants": False,
22 "geoId": "",
23 "customUrlParams": {},
24 "filters": {},
25 "resumeKeywords": [],
26 "splitByLocation": False,
27 "splitCountry": "",
28 "splitLocations": [],
29 "splitTimeRanges": [],
30 "splitCompanyIds": [],
31}
32
33
34run = client.actor("danthedataman/linkedin-job-atlas").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41