1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "startUrls": [
9 {
10 "url": "https://transparenz.hamburg.de/",
11 "sourceId": "HAMBURG-TRANS",
12 "userData": { "sourceId": "HAMBURG-TRANS" },
13 },
14 {
15 "url": "https://geoportal-hamburg.de/planportal/",
16 "sourceId": "HAMBURG-PLAN",
17 "userData": { "sourceId": "HAMBURG-PLAN" },
18 },
19 {
20 "url": "https://daten.berlin.de/datensaetze/bebauungsplanverfahren-in-berlin-wfs-4f574ea7",
21 "sourceId": "BERLIN-BPLAN",
22 "userData": { "sourceId": "BERLIN-BPLAN" },
23 },
24 ] }
25
26
27run = client.actor("zentrafoundry/dach-construction-permit-monitor-roofing-hvac-leads").call(run_input=run_input)
28
29
30print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
31for item in client.dataset(run["defaultDatasetId"]).iterate_items():
32 print(item)
33
34