1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "listings": [
9 {
10 "listingId": "demo-bike-1",
11 "year": 2025,
12 "make": "KTM",
13 "model": "390 Duke",
14 "price": 5899,
15 "dealerName": "Demo Powersports",
16 "location": "Austin, TX",
17 },
18 {
19 "listingId": "demo-bike-2",
20 "year": 2025,
21 "make": "KTM",
22 "model": "390 Duke",
23 "price": 5299,
24 "dealerName": "Demo Powersports",
25 "location": "Austin, TX",
26 },
27 {
28 "listingId": "demo-bike-3",
29 "year": 2025,
30 "make": "KTM",
31 "model": "390 Duke",
32 "price": 6499,
33 "dealerName": "Another Demo Dealer",
34 "location": "Dallas, TX",
35 },
36 ] }
37
38
39run = client.actor("repairiq/powersports-inventory-aging").call(run_input=run_input)
40
41
42print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
43for item in client.dataset(run.default_dataset_id).iterate_items():
44 print(item)
45
46