1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "channel": "jobs",
10 "keyword": "software engineer",
11 "employerId": "",
12 "companyUrl": "",
13 "companyName": "",
14 "detailUrls": [],
15 "jobListingIds": [],
16 "maxResults": 3,
17 "market": "us",
18 "location": "",
19 "jobTitle": "",
20 "maxPages": 1,
21 "enrichDetails": True,
22 "easyApply": False,
23 "remote": False,
24 "seniority": "",
25 "sortBy": "",
26 "domain": "",
27 "includeRaw": False,
28 "failover": True,
29 "workerBaseUrl": "",
30}
31
32
33run = client.actor("lentic_clockss/glassdoor-scraper").call(run_input=run_input)
34
35
36print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
37for item in client.dataset(run.default_dataset_id).iterate_items():
38 print(item)
39
40