Falafel Bowl
- userId
-
Samson Stroman @samson_stroman
- name
- Falafel Bowl
- kind
- lunch
- calories
- 307
- proteinGrams
- 27.1
- carbsGrams
- 19.4
- fatGrams
- 13.4
- eatenAt
- createdAt
Overview
meals / #216
Falafel Bowl
#216
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/216" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/216" ); 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/216"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/216"
)
meal = res.json() Response
{
"id": 216,
"userId": 52,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 307,
"proteinGrams": 27.1,
"carbsGrams": 19.4,
"fatGrams": 13.4,
"eatenAt": "2026-03-08T16:52:39.843Z",
"createdAt": "2026-03-08T16:54:00.849Z"
}