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 "brandDomains": [
12 "notion.so",
13 "notion.com",
14 ],
15 "competitors": [
16 "Obsidian | obsidian.md",
17 "Coda | coda.io",
18 "Evernote | evernote.com",
19 ],
20 "prompts": ["What is the best note-taking app for a small team?"],
21}
22
23
24run = client.actor("dami_studio/ai-brand-visibility-tracker").call(run_input=run_input)
25
26
27print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
28for item in client.dataset(run.default_dataset_id).iterate_items():
29 print(item)
30
31