1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "postings": [
9 {
10 "title": "Senior Software Engineer",
11 "location": "Austin, TX",
12 "salaryMin": 150000,
13 "salaryMax": 185000,
14 "currency": "USD",
15 "period": "year",
16 },
17 {
18 "title": "Software Engineer II",
19 "location": "Remote, US",
20 "salaryMin": 120000,
21 "salaryMax": 150000,
22 "currency": "USD",
23 },
24 {
25 "title": "Sr. Software Engineer (Backend)",
26 "location": "New York, NY",
27 "description": "The base salary range for this role is $165,000 - $200,000 per year. Sign-on bonus: $15,000.",
28 },
29 {
30 "title": "Software Engineer",
31 "location": "Denver, CO",
32 "salaryMin": 55,
33 "salaryMax": 65,
34 "currency": "USD",
35 "period": "hour",
36 },
37 {
38 "title": "Product Manager",
39 "location": "Austin, TX",
40 "salaryMin": 140000,
41 "salaryMax": 170000,
42 "currency": "USD",
43 },
44 ] }
45
46
47run = client.actor("northbell/pay-band-calculator").call(run_input=run_input)
48
49
50print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
51for item in client.dataset(run.default_dataset_id).iterate_items():
52 print(item)
53
54