Oatmeal with Berries
- userId
-
Jonathan Howe @jonathan_howe77
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 443
- proteinGrams
- 11.3
- carbsGrams
- 37
- fatGrams
- 27.8
- eatenAt
- createdAt
Overview
meals / #622
Oatmeal with Berries
#622
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/622" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/622" ); 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/622"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/622"
)
meal = res.json() Response
{
"id": 622,
"userId": 150,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 443,
"proteinGrams": 11.3,
"carbsGrams": 37,
"fatGrams": 27.8,
"eatenAt": "2026-01-27T05:40:35.563Z",
"createdAt": "2026-01-27T05:55:51.644Z"
}