1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "assets": [
10 {
11 "lat": 40.0143,
12 "lon": -105.2829,
13 "label": "Boulder CO - creekside redevelopment parcel",
14 },
15 {
16 "lat": 29.99091,
17 "lon": -89.93323,
18 "label": "New Orleans East LA - swamp/marsh adjacent site",
19 },
20 {
21 "lat": 33.42931,
22 "lon": -111.98414,
23 "label": "Tempe AZ - parcel inside a mapped desert wash",
24 },
25 {
26 "lat": 35.2,
27 "lon": -115.9,
28 "label": "Mojave NP CA - upland solar reference site",
29 },
30 {
31 "lat": 30.2481,
32 "lon": -88.0783,
33 "label": "Dauphin Island AL - Mobile Bay mouth coastal parcel",
34 },
35 ],
36 "radiusMeters": 1000,
37 "maxResults": 100,
38 "includeNonNetworkFlowlines": True,
39}
40
41
42run = client.actor("malonestar/nhd-surface-water-404-screener").call(run_input=run_input)
43
44
45print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
46for item in client.dataset(run["defaultDatasetId"]).iterate_items():
47 print(item)
48
49