1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "leads": [
9 {
10 "name": "Corner Restaurant",
11 "website": "https://www.cornerrestaurantaustin.com",
12 "phone": "+15126084488",
13 "address": "110 E 2nd St, Austin, TX",
14 "category": "Restaurant",
15 "rating": 4.8,
16 },
17 {
18 "name": "Ember Kitchen",
19 "website": "https://www.emberatx.com",
20 "phone": "+15122916846",
21 "address": "800 W Cesar Chavez St, Austin, TX",
22 "category": "Restaurant",
23 "rating": 4.8,
24 },
25 ] }
26
27
28run = client.actor("cancap/maps-leads-email-enricher").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