Greek Yogurt Parfait
- userId
-
Loren Schmidt @loren_schmidt
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 374
- proteinGrams
- 21.3
- carbsGrams
- 37.5
- fatGrams
- 15.4
- eatenAt
- createdAt
Overview
meals / #911
Greek Yogurt Parfait
#911
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/911" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/911" ); 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/911"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/911"
)
meal = res.json() Response
{
"id": 911,
"userId": 222,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 374,
"proteinGrams": 21.3,
"carbsGrams": 37.5,
"fatGrams": 15.4,
"eatenAt": "2026-05-03T08:25:11.476Z",
"createdAt": "2026-05-03T08:35:36.565Z"
}