Oatmeal with Berries
- userId
-
Hortense Cruickshank @hortense.cruickshank65
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 673
- proteinGrams
- 34.8
- carbsGrams
- 79.1
- fatGrams
- 24.1
- eatenAt
- createdAt
Overview
meals / #349
Oatmeal with Berries
#349
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/349" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/349" ); 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/349"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/349"
)
meal = res.json() Response
{
"id": 349,
"userId": 83,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 673,
"proteinGrams": 34.8,
"carbsGrams": 79.1,
"fatGrams": 24.1,
"eatenAt": "2025-11-27T22:36:40.305Z",
"createdAt": "2025-11-27T22:37:22.165Z"
}