Falafel Bowl
- userId
-
Gudrun Brakus @gudrun_brakus
- name
- Falafel Bowl
- kind
- lunch
- calories
- 295
- proteinGrams
- 17.2
- carbsGrams
- 15.3
- fatGrams
- 18.3
- eatenAt
- createdAt
Overview
meals / #944
Falafel Bowl
#944
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/944" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/944" ); 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/944"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/944"
)
meal = res.json() Response
{
"id": 944,
"userId": 230,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 295,
"proteinGrams": 17.2,
"carbsGrams": 15.3,
"fatGrams": 18.3,
"eatenAt": "2025-10-23T07:53:50.414Z",
"createdAt": "2025-10-23T07:53:58.026Z"
}