Skip to content

List points of interest

Start from the script setup block, then add the snippet code below.

# ... script setup ...
TWIN_ID = "your-twin-id"
pois = api_get(f"/v1/twin/{TWIN_ID}/pois")
print(json.dumps(pois, indent=2))