example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #245

May
6
Wed

Demo Day

2:16 PM – 2:16 PM

Microsoft Teams

Causa facere atque color.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/calendar-events/245" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/245"
);
const calendarEvent = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/calendar-events.d.ts https://example-data.com/types/calendar-events.d.ts
import type { CalendarEvent } from "./types/calendar-events";

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/245"
);
const calendarEvent = (await res.json()) as CalendarEvent;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/calendar-events/245"
)
calendar_event = res.json()

Response

{
  "id": 245,
  "ownerUserId": 105,
  "title": "Demo Day",
  "description": "Causa facere atque color.",
  "startAt": "2026-05-06T14:16:33.566Z",
  "endAt": "2026-05-07T14:16:33.566Z",
  "isAllDay": true,
  "location": "Microsoft Teams",
  "attendeeUserIds": [],
  "createdAt": "2026-05-05T21:27:27.971Z",
  "updatedAt": "2026-05-08T08:52:00.837Z"
}