Falafel Bowl
- userId
-
Casimir Smitham @casimir_smitham35
- name
- Falafel Bowl
- kind
- lunch
- calories
- 292
- proteinGrams
- 5.9
- carbsGrams
- 49.8
- fatGrams
- 7.7
- eatenAt
- createdAt
Overview
meals / #68
Falafel Bowl
#68
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/68" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/68" ); 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/68"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/68"
)
meal = res.json() Response
{
"id": 68,
"userId": 16,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 292,
"proteinGrams": 5.9,
"carbsGrams": 49.8,
"fatGrams": 7.7,
"eatenAt": "2026-03-06T02:59:33.651Z",
"createdAt": "2026-03-06T03:20:35.792Z"
}