Egg White Omelette
- userId
-
Whitney O'Reilly @whitney.oreilly
- name
- Egg White Omelette
- kind
- breakfast
- calories
- 534
- proteinGrams
- 21.1
- carbsGrams
- 69
- fatGrams
- 19.3
- eatenAt
- createdAt
Overview
meals / #411
Egg White Omelette
#411
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/411" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/411" ); 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/411"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/411"
)
meal = res.json() Response
{
"id": 411,
"userId": 99,
"name": "Egg White Omelette",
"kind": "breakfast",
"calories": 534,
"proteinGrams": 21.1,
"carbsGrams": 69,
"fatGrams": 19.3,
"eatenAt": "2026-04-30T08:11:37.700Z",
"createdAt": "2026-04-30T08:14:09.863Z"
}