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