example-data.com
Menu
Browse docs and collections

Overview

workouts / #110

Weekend Routine

userId
Della Labadie @della_labadie
kind
strength
name
Weekend Routine
durationMinutes
16
caloriesBurned
140
intensity
high
notes
Felt strong today
performedAt
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/workouts/110" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/workouts/110"
);
const workout = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/workouts/110"
);
const workout = (await res.json()) as Workout;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/workouts/110"
)
workout = res.json()

Response

{
  "id": 110,
  "userId": 46,
  "kind": "strength",
  "name": "Weekend Routine",
  "durationMinutes": 16,
  "caloriesBurned": 140,
  "intensity": "high",
  "notes": "Felt strong today",
  "performedAt": "2025-08-22T23:15:47.568Z",
  "createdAt": "2025-08-22T23:16:42.736Z"
}