Egg White Omelette
- userId
-
Stephan Heller @stephan.heller
- name
- Egg White Omelette
- kind
- breakfast
- calories
- 395
- proteinGrams
- 55
- carbsGrams
- 21.5
- fatGrams
- 9.9
- eatenAt
- createdAt
Overview
meals / #345
Egg White Omelette
#345
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/345" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/345" ); 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/345"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/345"
)
meal = res.json() Response
{
"id": 345,
"userId": 82,
"name": "Egg White Omelette",
"kind": "breakfast",
"calories": 395,
"proteinGrams": 55,
"carbsGrams": 21.5,
"fatGrams": 9.9,
"eatenAt": "2025-07-18T16:07:39.309Z",
"createdAt": "2025-07-18T16:26:53.045Z"
}