1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "parcelFileUrl": "",
10 "sites": [
11 {
12 "id": "river-camel",
13 "latitude": 50.491762,
14 "longitude": -4.711254,
15 },
16 {
17 "id": "westminster",
18 "latitude": 51.5007,
19 "longitude": -0.1246,
20 },
21 ],
22}
23
24
25run = client.actor("nightfallen_persistence/england-nutrient-neutrality-checker").call(run_input=run_input)
26
27
28print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32