1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "prompts": ["best CRM software for small business"],
10 "brandName": "HubSpot",
11 "domain": "hubspot.com",
12 "competitors": [
13 "Zoho",
14 "Pipedrive",
15 "Salesforce",
16 ],
17 "country": "US",
18 "language": "en",
19 "maxPrompts": 1,
20 "timeoutSeconds": 30,
21 "proxyConfiguration": {
22 "useApifyProxy": True,
23 "apifyProxyGroups": ["RESIDENTIAL"],
24 },
25}
26
27
28run = client.actor("tugelbay/google-ai-overview-tracker").call(run_input=run_input)
29
30
31print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33 print(item)
34
35