1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "places": ["https://www.google.com/maps/place/?q=place_id:ChIJsyWauUOuEmsRlyQeoNBkOXA"],
10 "monitorKey": "my-business",
11 "maxReviewsPerPlace": 20,
12 "monitorOnlyNegativeReviews": False,
13 "emitStillUnansweredEveryRun": False,
14 "detectResponseUpdates": True,
15 "detectReviewUpdates": True,
16 "emitBaselineReviews": False,
17 "emitExistingSlaBreaches": False,
18 "includePlaceSummary": True,
19 "includeTranslations": True,
20 "saveHistory": True,
21 "proxyConfiguration": { "useApifyProxy": True },
22}
23
24
25run = client.actor("coregent/google-maps-review-response-monitor").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