1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "companies": [
10 {
11 "ats": "greenhouse",
12 "id": "airbnb",
13 },
14 {
15 "ats": "lever",
16 "id": "leverdemo",
17 },
18 {
19 "ats": "ashby",
20 "id": "ashby",
21 },
22 ],
23 "maxJobsPerCompany": 20,
24}
25
26
27run = client.actor("tidyfetch/ats-jobs-api").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34