Egg White Omelette
- userId
-
Loren Schmidt @loren_schmidt
- name
- Egg White Omelette
- kind
- breakfast
- calories
- 365
- proteinGrams
- 6.6
- carbsGrams
- 24.2
- fatGrams
- 26.9
- eatenAt
- createdAt
Overview
meals / #912
Egg White Omelette
#912
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/912" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/912" ); 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/912"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/912"
)
meal = res.json() Response
{
"id": 912,
"userId": 222,
"name": "Egg White Omelette",
"kind": "breakfast",
"calories": 365,
"proteinGrams": 6.6,
"carbsGrams": 24.2,
"fatGrams": 26.9,
"eatenAt": "2025-09-10T07:28:47.879Z",
"createdAt": "2025-09-10T07:49:01.524Z"
}