GET /api/v1/cities/{slug}/events
Events per city (destination.one)
Current and upcoming events for a city from the account-bound source destination.one/eT4.META in the canonical envelope. The license is derived per record from the license field (CC0/CC-BY, CC-BY-SA, otherwise unknown) and mirrored in attribution. Past dates are filtered out. Special cases: if the source is off or the licensekey is missing it returns 200 with source_status="disabled"; if the source has nothing current it returns 200 with source_status="no_data"; a dead upstream with no cache returns 503 with a hint.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/events"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/events");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/events")
res.raise_for_status()
print(res.json())