measurements #142
- userId
-
Samson Stroman @samson_stroman
- kind
- waist
- value
- 103.6
- unit
- cm
- measuredAt
- createdAt
Overview
measurements / #142
#142
#142
Request
curl example
curl -sS \ "https://example-data.com/api/v1/measurements/142" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/measurements/142" ); const measurement = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/measurements.d.ts https://example-data.com/types/measurements.d.ts
import type { Measurement } from "./types/measurements";
const res = await fetch(
"https://example-data.com/api/v1/measurements/142"
);
const measurement = (await res.json()) as Measurement; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/measurements/142"
)
measurement = res.json() Response
{
"id": 142,
"userId": 52,
"kind": "waist",
"value": 103.6,
"unit": "cm",
"measuredAt": "2025-07-10T08:57:51.185Z",
"createdAt": "2025-07-10T09:20:34.603Z"
}