1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "places": [
10 "Katz's Delicatessen, New York, NY",
11 "https://www.google.com/maps/place/Franklin+Barbecue/@30.2701076,-97.7312927,17z/data=!3m1!4b1!4m6!3m5!1s0x8644b5a4ae3bcc33:0x31aba8abf8f64c84!8m2!3d30.2701076!4d-97.7312927",
12 ],
13 "maxReviewsPerPlace": 10,
14}
15
16
17run = client.actor("earlytern/google-maps-reviews-scraper").call(run_input=run_input)
18
19
20print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
21for item in client.dataset(run.default_dataset_id).iterate_items():
22 print(item)
23
24