GET /api/v1/cities/{slug}/playgrounds
Spielplätze je Stadt (OSM, Tier B)
Öffentliche Spielplätze (OSM leisure=playground) im kanonischen Envelope. Tier B (copyleft, ODbL). Deaktiviert -> 200 source_status="disabled".
Parameter
| Name | In | Pflicht | Typ | Beschreibung |
|---|---|---|---|---|
slug | path | ja | string |
Code-Beispiele
curl "https://infranode.dev/api/v1/cities/hamburg/playgrounds"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/playgrounds");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/playgrounds")
res.raise_for_status()
print(res.json())