1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brandName": "Notion",
10 "brandDomain": "notion.so",
11 "industry": "productivity software",
12 "prompts": [
13 "What is the best note-taking app for teams?",
14 "Recommend an all-in-one workspace tool.",
15 ],
16 "platforms": [
17 "perplexity",
18 "chatgpt",
19 "claude",
20 "gemini",
21 ],
22 "competitors": [
23 "Evernote",
24 "Obsidian",
25 "Coda",
26 ],
27}
28
29
30run = client.actor("muhammadafzal/ai-visibility-rank-tracker").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37