Greek Yogurt Parfait
- userId
-
Adrain Kris-Hermiston @adrain.kris-hermiston
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 626
- proteinGrams
- 39
- carbsGrams
- 45.1
- fatGrams
- 32.2
- eatenAt
- createdAt
Overview
meals / #850
Greek Yogurt Parfait
#850
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/850" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/850" ); 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/850"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/850"
)
meal = res.json() Response
{
"id": 850,
"userId": 206,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 626,
"proteinGrams": 39,
"carbsGrams": 45.1,
"fatGrams": 32.2,
"eatenAt": "2026-01-09T15:20:30.557Z",
"createdAt": "2026-01-09T15:31:35.671Z"
}