Hard Boiled Eggs
- userId
-
Terence Lemke @terence.lemke85
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 618
- proteinGrams
- 35.9
- carbsGrams
- 71.2
- fatGrams
- 21.1
- eatenAt
- createdAt
Overview
meals / #305
Hard Boiled Eggs
#305
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/305" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/305" ); 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/305"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/305"
)
meal = res.json() Response
{
"id": 305,
"userId": 74,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 618,
"proteinGrams": 35.9,
"carbsGrams": 71.2,
"fatGrams": 21.1,
"eatenAt": "2025-11-07T04:03:04.765Z",
"createdAt": "2025-11-07T04:11:26.733Z"
}