1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": "Notion",
10 "brandAliases": ["Notion AI"],
11 "brandDomain": "notion.com",
12 "category": "team knowledge base and wiki software",
13 "competitors": [
14 "Confluence | Atlassian Confluence | atlassian.com",
15 "Coda | | coda.io",
16 "Obsidian | | obsidian.md",
17 ],
18 "prompts": [
19 "What's the best knowledge base tool for a 50-person startup?",
20 "What are good alternatives to Confluence?",
21 ],
22 "engines": [
23 "perplexity",
24 "chatgpt",
25 ],
26 "runsPerPrompt": 1,
27 "aiAnalysis": False,
28}
29
30
31run = client.actor("agrawals/ai-search-visibility-tracker").call(run_input=run_input)
32
33
34print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38