Greek Yogurt Parfait
- userId
-
Alanna Kilback @alanna_kilback31
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 753
- proteinGrams
- 43.7
- carbsGrams
- 63.8
- fatGrams
- 35.9
- eatenAt
- createdAt
Overview
meals / #58
Greek Yogurt Parfait
#58
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/58" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/58" ); 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/58"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/58"
)
meal = res.json() Response
{
"id": 58,
"userId": 14,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 753,
"proteinGrams": 43.7,
"carbsGrams": 63.8,
"fatGrams": 35.9,
"eatenAt": "2025-08-22T04:52:27.123Z",
"createdAt": "2025-08-22T05:18:42.293Z"
}