1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "jobTitles": ["software engineer"],
10 "locations": [
11 "New York",
12 "California",
13 ],
14 "maxItems": 10,
15 "company": [
16 "https://www.linkedin.com/company/google",
17 "https://www.linkedin.com/company/microsoft",
18 "Netflix",
19 "Oracle Corp",
20 ],
21 "industryIds": [
22 "4",
23 "5",
24 "6",
25 ],
26 "sortBy": "date",
27}
28
29
30run = client.actor("harvestapi/linkedin-job-search").call(run_input=run_input)
31
32
33print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
34for item in client.dataset(run["defaultDatasetId"]).iterate_items():
35 print(item)
36
37