1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searchKeyword": "索尼 WH-1000XM5",
10 "brand": "Sony/索尼",
11 "model": "WH-1000XM5/XM5",
12 "productKeywords": "headphones/耳机/头戴式耳机",
13 "accessoryKeywords": "耳机套/耳罩/保护套/保护壳/收纳包/数据线/转接头",
14 "variantKeywords": "国行/海外版",
15 "productConflictKeywords": "蓝牙音箱/麦克风",
16 "enableDetailCheck": False,
17}
18
19
20run = client.actor("marketinteltools/china-marketplace-monitor").call(run_input=run_input)
21
22
23print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
24for item in client.dataset(run.default_dataset_id).iterate_items():
25 print(item)
26
27