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 "maxItems": 10,
15 "perSourceLimit": 5,
16 "overallTimeoutSecs": 900,
17 "requestTimeoutSecs": 30,
18 "maxRequestRetries": 2,
19 "sinceLastRun": False,
20 "deltaMode": True,
21 "maxAggregateMemberSpendUsd": 5,
22 "memberTimeoutSecs": 300,
23 "zentraOwnerQa": False,
24}
25
26
27run = client.actor("zentrafoundry/apify-dataset-quality-auditor-v2").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34