Greek Yogurt Parfait
- userId
-
Judy Hackett @judy_hackett49
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 520
- proteinGrams
- 13.1
- carbsGrams
- 61
- fatGrams
- 24.8
- eatenAt
- createdAt
Overview
meals / #56
Greek Yogurt Parfait
#56
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/56" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/56" ); const meal = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/meals.d.ts https://example-data.com/types/meals.d.ts
import type { Meal } from "./types/meals";
const res = await fetch(
"https://example-data.com/api/v1/meals/56"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/56"
)
meal = res.json() Response
{
"id": 56,
"userId": 13,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 520,
"proteinGrams": 13.1,
"carbsGrams": 61,
"fatGrams": 24.8,
"eatenAt": "2026-04-03T02:40:37.373Z",
"createdAt": "2026-04-03T03:09:16.585Z"
}