Easy Routine
- userId
-
Douglas Frami @douglas.frami
- kind
- sports
- name
- Easy Routine
- durationMinutes
- 21
- caloriesBurned
- 242
- intensity
- very_high
- notes
- Personal best on squats
- performedAt
- createdAt
Overview
workouts / #368
Easy Routine
#368
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/368" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/368" ); 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/368"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/368"
)
workout = res.json() Response
{
"id": 368,
"userId": 148,
"kind": "sports",
"name": "Easy Routine",
"durationMinutes": 21,
"caloriesBurned": 242,
"intensity": "very_high",
"notes": "Personal best on squats",
"performedAt": "2025-07-14T17:50:39.378Z",
"createdAt": "2025-07-14T18:50:27.588Z"
}