Hard Boiled Eggs
- userId
-
Merl Jenkins @merl.jenkins6
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 535
- proteinGrams
- 11.4
- carbsGrams
- 60.6
- fatGrams
- 27.4
- eatenAt
- createdAt
Overview
meals / #248
Hard Boiled Eggs
#248
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/248" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/248" ); 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/248"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/248"
)
meal = res.json() Response
{
"id": 248,
"userId": 60,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 535,
"proteinGrams": 11.4,
"carbsGrams": 60.6,
"fatGrams": 27.4,
"eatenAt": "2026-03-02T04:51:17.220Z",
"createdAt": "2026-03-02T05:01:01.234Z"
}