Falafel Bowl
- userId
-
Sam Hegmann-Jast @sam_hegmann-jast86
- name
- Falafel Bowl
- kind
- lunch
- calories
- 511
- proteinGrams
- 44.4
- carbsGrams
- 39.4
- fatGrams
- 19.5
- eatenAt
- createdAt
Overview
meals / #476
Falafel Bowl
#476
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/476" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/476" ); 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/476"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/476"
)
meal = res.json() Response
{
"id": 476,
"userId": 114,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 511,
"proteinGrams": 44.4,
"carbsGrams": 39.4,
"fatGrams": 19.5,
"eatenAt": "2026-04-30T10:01:48.853Z",
"createdAt": "2026-04-30T10:24:02.177Z"
}