1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "queries": [
10 "best CRM software for small business",
11 "HubSpot alternatives",
12 ],
13 "maxItems": 10,
14 "brandName": "HubSpot",
15 "brandDomain": "hubspot.com",
16 "competitors": [
17 "Salesforce",
18 "Pipedrive",
19 "Zoho CRM",
20 ],
21 "platforms": ["chatgpt"],
22}
23
24
25run = client.actor("parseforge/ai-rank-tracker").call(run_input=run_input)
26
27
28print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32