Falafel Bowl
- userId
-
Beau Stiedemann @beau.stiedemann
- name
- Falafel Bowl
- kind
- lunch
- calories
- 688
- proteinGrams
- 39.5
- carbsGrams
- 67.5
- fatGrams
- 28.9
- eatenAt
- createdAt
Overview
meals / #264
Falafel Bowl
#264
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/264" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/264" ); 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/264"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/264"
)
meal = res.json() Response
{
"id": 264,
"userId": 64,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 688,
"proteinGrams": 39.5,
"carbsGrams": 67.5,
"fatGrams": 28.9,
"eatenAt": "2026-03-08T05:43:10.189Z",
"createdAt": "2026-03-08T05:48:47.942Z"
}