1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brandName": "Notion",
10 "brandAliases": ["Notion Labs"],
11 "brandDomain": "notion.com",
12 "competitors": [
13 "Evernote",
14 "Obsidian",
15 "Coda | Coda.io | coda.io",
16 "ClickUp",
17 "Confluence",
18 ],
19 "prompts": [
20 "What is the best note-taking and knowledge management app for a small team?",
21 "Which tools should a startup use to organize documents and project wikis?",
22 ],
23 "engines": [
24 "openai",
25 "perplexity",
26 "gemini",
27 ],
28 "runsPerPrompt": 1,
29}
30
31
32run = client.actor("tan_carrel_h1q/ai-search-brand-visibility-monitor").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39