Greek Yogurt Parfait
- userId
-
Talon Turner @talon.turner59
- name
- Greek Yogurt Parfait
- kind
- breakfast
- calories
- 701
- proteinGrams
- 47.1
- carbsGrams
- 72.9
- fatGrams
- 24.5
- eatenAt
- createdAt
Overview
meals / #685
Greek Yogurt Parfait
#685
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/685" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/685" ); 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/685"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/685"
)
meal = res.json() Response
{
"id": 685,
"userId": 166,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 701,
"proteinGrams": 47.1,
"carbsGrams": 72.9,
"fatGrams": 24.5,
"eatenAt": "2026-01-08T07:03:05.727Z",
"createdAt": "2026-01-08T07:06:22.492Z"
}