Greek Yogurt Parfait
- userId
-
Simeon Heathcote @simeon_heathcote75
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 469
- proteinGrams
- 10.7
- carbsGrams
- 78.8
- fatGrams
- 12.3
- eatenAt
- createdAt
Overview
meals / #920
Greek Yogurt Parfait
#920
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/920" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/920" ); 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/920"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/920"
)
meal = res.json() Response
{
"id": 920,
"userId": 224,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 469,
"proteinGrams": 10.7,
"carbsGrams": 78.8,
"fatGrams": 12.3,
"eatenAt": "2025-12-25T06:46:59.381Z",
"createdAt": "2025-12-25T06:56:00.701Z"
}