1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "location": "Phoenix, Arizona",
10 "maxResults": 25,
11 "outreachSenderName": "Alex",
12 "outreachSenderBusinessName": "Example Growth Agency",
13 "outreachSenderWebsite": "https://example.com",
14 "outreachOffer": "A free 3-point Google Maps and website opportunity audit",
15 "reviewsFilterKeywords": "appointment, wait time, booking",
16 "googleSheetsSheetName": "Leads",
17}
18
19
20run = client.actor("dvcontact/google-maps-lead-generator").call(run_input=run_input)
21
22
23print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25 print(item)
26
27