1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "boards": [
10 "https://job-boards.greenhouse.io/figma",
11 "https://jobs.lever.co/enable",
12 "https://jobs.ashbyhq.com/ramp",
13 ],
14 "maxJobsPerBoard": 10,
15 "maxJobsTotal": 30,
16 "titleIncludes": [],
17 "titleExcludes": [],
18 "locationIncludes": [],
19 "remoteOnly": False,
20 "includeDescription": "plain",
21 "includeCompensation": False,
22 "mode": "all",
23 "monitoringStoreName": "ats-jobs-monitoring",
24 "monitoringBaseline": False,
25 "proxyConfiguration": { "useApifyProxy": False },
26 "maxRunSecs": 180,
27 "maxConcurrency": 3,
28 "requestTimeoutSecs": 20,
29}
30
31
32run = client.actor("tubloko/greenhouse-lever-ashby-jobs-scraper").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39