Pancakes
- userId
-
Hortense Cruickshank @hortense.cruickshank65
- name
- Pancakes
- kind
- breakfast
- calories
- 386
- proteinGrams
- 59
- carbsGrams
- 23.3
- fatGrams
- 6.3
- eatenAt
- createdAt
Overview
meals / #348
Pancakes
#348
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/348" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/348" ); 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/348"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/348"
)
meal = res.json() Response
{
"id": 348,
"userId": 83,
"name": "Pancakes",
"kind": "breakfast",
"calories": 386,
"proteinGrams": 59,
"carbsGrams": 23.3,
"fatGrams": 6.3,
"eatenAt": "2025-10-14T13:10:21.594Z",
"createdAt": "2025-10-14T13:40:17.546Z"
}