Falafel Bowl
- userId
-
Kenya Abshire @kenya.abshire
- name
- Falafel Bowl
- kind
- lunch
- calories
- 553
- proteinGrams
- 40.8
- carbsGrams
- 29.8
- fatGrams
- 30.1
- eatenAt
- createdAt
Overview
meals / #82
Falafel Bowl
#82
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/82" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/82" ); 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/82"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/82"
)
meal = res.json() Response
{
"id": 82,
"userId": 18,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 553,
"proteinGrams": 40.8,
"carbsGrams": 29.8,
"fatGrams": 30.1,
"eatenAt": "2025-11-06T18:30:13.117Z",
"createdAt": "2025-11-06T18:47:15.407Z"
}