Hard Boiled Eggs
- userId
-
Colby Kovacek @colby_kovacek40
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 572
- proteinGrams
- 58.7
- carbsGrams
- 16.5
- fatGrams
- 30.1
- eatenAt
- createdAt
Overview
meals / #356
Hard Boiled Eggs
#356
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/356" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/356" ); 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/356"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/356"
)
meal = res.json() Response
{
"id": 356,
"userId": 85,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 572,
"proteinGrams": 58.7,
"carbsGrams": 16.5,
"fatGrams": 30.1,
"eatenAt": "2026-02-02T07:59:02.134Z",
"createdAt": "2026-02-02T07:59:35.681Z"
}