Greek Yogurt Parfait
- userId
-
Lew O'Kon @lew.okon75
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 478
- proteinGrams
- 25.1
- carbsGrams
- 55.2
- fatGrams
- 17.4
- eatenAt
- createdAt
Overview
meals / #550
Greek Yogurt Parfait
#550
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/550" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/550" ); 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/550"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/550"
)
meal = res.json() Response
{
"id": 550,
"userId": 131,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 478,
"proteinGrams": 25.1,
"carbsGrams": 55.2,
"fatGrams": 17.4,
"eatenAt": "2025-11-04T13:12:07.311Z",
"createdAt": "2025-11-04T13:30:57.843Z"
}