1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": {
10 "name": "Notion",
11 "aliases": ["Notion.so"],
12 "domain": "notion.com",
13 },
14 "competitors": [
15 {
16 "name": "Coda",
17 "domain": "coda.io",
18 },
19 {
20 "name": "Confluence",
21 "domain": "atlassian.com",
22 },
23 {
24 "name": "Obsidian",
25 "domain": "obsidian.md",
26 },
27 ],
28 "prompts": [
29 "What is the best note-taking app for teams?",
30 "Best alternative to Confluence for a startup?",
31 ],
32}
33
34
35run = client.actor("vyse-ai/ai-brand-visibility-tracker").call(run_input=run_input)
36
37
38print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
39for item in client.dataset(run.default_dataset_id).iterate_items():
40 print(item)
41
42