Hard Boiled Eggs
- userId
-
Casimir Smitham @casimir_smitham35
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 529
- proteinGrams
- 46.2
- carbsGrams
- 19.5
- fatGrams
- 29.6
- eatenAt
- createdAt
Overview
meals / #71
Hard Boiled Eggs
#71
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/71" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/71" ); 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/71"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/71"
)
meal = res.json() Response
{
"id": 71,
"userId": 16,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 529,
"proteinGrams": 46.2,
"carbsGrams": 19.5,
"fatGrams": 29.6,
"eatenAt": "2025-05-24T11:54:57.747Z",
"createdAt": "2025-05-24T12:07:24.738Z"
}