Hard Boiled Eggs
- userId
-
Douglas Frami @douglas.frami
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 489
- proteinGrams
- 35.7
- carbsGrams
- 24.1
- fatGrams
- 27.8
- eatenAt
- createdAt
Overview
meals / #616
Hard Boiled Eggs
#616
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/616" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/616" ); 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/616"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/616"
)
meal = res.json() Response
{
"id": 616,
"userId": 148,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 489,
"proteinGrams": 35.7,
"carbsGrams": 24.1,
"fatGrams": 27.8,
"eatenAt": "2025-06-20T21:54:24.608Z",
"createdAt": "2025-06-20T21:55:39.777Z"
}