Oatmeal with Berries
- userId
-
Filiberto Fay @filiberto.fay59
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 357
- proteinGrams
- 26.5
- carbsGrams
- 8.3
- fatGrams
- 24.2
- eatenAt
- createdAt
Overview
meals / #384
Oatmeal with Berries
#384
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/384" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/384" ); 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/384"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/384"
)
meal = res.json() Response
{
"id": 384,
"userId": 92,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 357,
"proteinGrams": 26.5,
"carbsGrams": 8.3,
"fatGrams": 24.2,
"eatenAt": "2026-04-14T09:26:57.680Z",
"createdAt": "2026-04-14T09:50:13.613Z"
}