1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brandName": "HubSpot",
10 "brandDomain": "hubspot.com",
11 "competitors": [
12 "Salesforce",
13 "Pipedrive",
14 "Zoho CRM",
15 ],
16 "prompts": [
17 "What is the best CRM software for a small business?",
18 "Which CRM is easiest to use for a startup sales team?",
19 ],
20}
21
22
23run = client.actor("cheapapi/ai-search-visibility-tracker").call(run_input=run_input)
24
25
26print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
27for item in client.dataset(run.default_dataset_id).iterate_items():
28 print(item)
29
30