1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": "Linear",
10 "brandAliases": ["Linear.app"],
11 "prompts": [
12 "best project management tool for a small design agency",
13 "what should I use instead of Jira",
14 "affordable issue tracker for a startup engineering team",
15 ],
16 "competitors": [
17 "Jira",
18 "Asana",
19 "Monday.com",
20 "ClickUp",
21 "Notion",
22 "Trello",
23 ],
24 "ownedDomains": ["linear.app"],
25 "engines": ["google_ai_overview"],
26 "projectId": "linear-demo",
27}
28
29
30run = client.actor("reminiscent_folder/ai-visibility-trend-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