1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "buyerQuery": "buyer-ready records with source evidence",
10 "taskIntent": "buyer-ready-product-run",
11 "sourceMode": "startUrls",
12 "outputMode": "buyer-ready-records",
13 "startUrls": [],
14 "perSourceLimit": 25,
15 "maxTotalChargeUsd": 5,
16 "overallTimeoutSecs": 120,
17 "requestTimeoutSecs": 30,
18 "maxRequestRetries": 2,
19 "sinceLastRun": False,
20 "deltaMode": False,
21}
22
23
24run = client.actor("zentrafoundry/solar-interconnection-queue-watcher").call(run_input=run_input)
25
26
27print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
28for item in client.dataset(run.default_dataset_id).iterate_items():
29 print(item)
30
31