Greek Yogurt Parfait
- userId
-
Charlene Kuhic @charlene_kuhic
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 407
- proteinGrams
- 32.3
- carbsGrams
- 44.6
- fatGrams
- 11
- eatenAt
- createdAt
Overview
meals / #999
Greek Yogurt Parfait
#999
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/999" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/999" ); 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/999"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/999"
)
meal = res.json() Response
{
"id": 999,
"userId": 244,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 407,
"proteinGrams": 32.3,
"carbsGrams": 44.6,
"fatGrams": 11,
"eatenAt": "2025-08-08T22:01:34.719Z",
"createdAt": "2025-08-08T22:10:52.980Z"
}