Skip to content

Get point of interest

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

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