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 and productivity app?",
14 "Recommend the top productivity software for teams.",
15 "Which all-in-one workspace tools are most popular?",
16 "What tools do startups use for project management?",
17 ],
18 "competitorBrands": [
19 "Evernote",
20 "Obsidian",
21 "Coda",
22 ],
23 "competitorDomains": [
24 "evernote.com",
25 "obsidian.md",
26 "coda.io",
27 ],
28}
29
30
31run = client.actor("muhammadafzal/ai-geo-rec-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