1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "enableBoardJobs": True,
10 "boardTokens": [
11 "airbnb",
12 "stripe",
13 "figma",
14 ],
15 "jobKeywords": [
16 "engineer",
17 "designer",
18 "support",
19 ],
20 "jobLocation": "",
21 "jobDepartment": "",
22 "jobDatePosted": "any",
23 "jobsPerBoard": 10,
24 "searchFetchFullDetails": False,
25 "enableScrapeByUrl": False,
26 "jobUrls": [],
27 "webhookUrl": "",
28 "webhookFormat": "json",
29 "proxyConfiguration": {
30 "useApifyProxy": True,
31 "apifyProxyGroups": ["RESIDENTIAL"],
32 "apifyProxyCountry": "US",
33 },
34}
35
36
37run = client.actor("b2b_leads/greenhouse-boards-real-time-data-scraper").call(run_input=run_input)
38
39
40print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
41for item in client.dataset(run.default_dataset_id).iterate_items():
42 print(item)
43
44