1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "live",
10 "brand": "Nike",
11 "brandAliases": [
12 "Nike, Inc.",
13 "耐克",
14 ],
15 "brandWebsite": "nike.com",
16 "competitors": [
17 {
18 "name": "Adidas",
19 "aliases": ["阿迪达斯"],
20 },
21 {
22 "name": "New Balance",
23 "aliases": ["新百伦"],
24 },
25 {
26 "name": "On",
27 "aliases": ["昂跑"],
28 },
29 ],
30 "queries": ["Which sustainable running shoe brands should a US buyer compare?"],
31 "models": [
32 "moonshot-kimi",
33 "zai-glm",
34 "deepseek",
35 "alibaba-qwen",
36 ],
37 "market": "United States",
38 "language": "English",
39 "maxModelConcurrency": 2,
40 "maxRows": 100,
41}
42
43
44run = client.actor("zinin/chinese-ai-visibility-dataset-analyzer").call(run_input=run_input)
45
46
47print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
48for item in client.dataset(run.default_dataset_id).iterate_items():
49 print(item)
50
51