Falafel Bowl
- userId
-
Einar Volkman @einar_volkman69
- name
- Falafel Bowl
- kind
- lunch
- calories
- 773
- proteinGrams
- 51.8
- carbsGrams
- 69
- fatGrams
- 32.2
- eatenAt
- createdAt
Overview
meals / #26
Falafel Bowl
#26
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/26" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/26" ); 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/26"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/26"
)
meal = res.json() Response
{
"id": 26,
"userId": 7,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 773,
"proteinGrams": 51.8,
"carbsGrams": 69,
"fatGrams": 32.2,
"eatenAt": "2025-09-13T01:50:43.853Z",
"createdAt": "2025-09-13T01:53:42.696Z"
}