Falafel Bowl
- userId
-
Aylin Sanford @aylin.sanford
- name
- Falafel Bowl
- kind
- lunch
- calories
- 658
- proteinGrams
- 49.5
- carbsGrams
- 43.7
- fatGrams
- 31.7
- eatenAt
- createdAt
Overview
meals / #714
Falafel Bowl
#714
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/714" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/714" ); 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/714"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/714"
)
meal = res.json() Response
{
"id": 714,
"userId": 173,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 658,
"proteinGrams": 49.5,
"carbsGrams": 43.7,
"fatGrams": 31.7,
"eatenAt": "2025-11-29T10:19:36.313Z",
"createdAt": "2025-11-29T10:23:26.389Z"
}