1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "salary-samples",
10 "role": "software engineer",
11 "employer": "",
12 "city": "",
13 "state": "",
14 "visaTypes": ["H-1B"],
15 "fiscalYears": [],
16 "maxItems": 10,
17 "proxyConfiguration": { "useApifyProxy": False },
18}
19
20
21run = client.actor("constructive_calm/salarybench-iq").call(run_input=run_input)
22
23
24print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
25for item in client.dataset(run["defaultDatasetId"]).iterate_items():
26 print(item)
27
28