Greek Yogurt Parfait
- userId
-
Vincenza Zemlak-Collier @vincenza_zemlak-collier
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 273
- proteinGrams
- 6.8
- carbsGrams
- 7.6
- fatGrams
- 23.9
- eatenAt
- createdAt
Overview
meals / #693
Greek Yogurt Parfait
#693
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/693" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/693" ); 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/693"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/693"
)
meal = res.json() Response
{
"id": 693,
"userId": 168,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 273,
"proteinGrams": 6.8,
"carbsGrams": 7.6,
"fatGrams": 23.9,
"eatenAt": "2025-08-08T11:58:02.588Z",
"createdAt": "2025-08-08T12:27:35.101Z"
}