Falafel Bowl
- userId
-
Jamal Gerhold @jamal.gerhold
- name
- Falafel Bowl
- kind
- lunch
- calories
- 370
- proteinGrams
- 15.5
- carbsGrams
- 56.4
- fatGrams
- 9.1
- eatenAt
- createdAt
Overview
meals / #482
Falafel Bowl
#482
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/482" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/482" ); 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/482"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/482"
)
meal = res.json() Response
{
"id": 482,
"userId": 115,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 370,
"proteinGrams": 15.5,
"carbsGrams": 56.4,
"fatGrams": 9.1,
"eatenAt": "2025-12-26T09:25:27.256Z",
"createdAt": "2025-12-26T09:51:31.272Z"
}