Oatmeal with Berries
- userId
-
Jaycee Erdman @jaycee_erdman96
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 593
- proteinGrams
- 40.4
- carbsGrams
- 28.3
- fatGrams
- 35.3
- eatenAt
- createdAt
Overview
meals / #41
Oatmeal with Berries
#41
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/41" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/41" ); 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/41"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/41"
)
meal = res.json() Response
{
"id": 41,
"userId": 10,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 593,
"proteinGrams": 40.4,
"carbsGrams": 28.3,
"fatGrams": 35.3,
"eatenAt": "2026-01-28T18:09:25.770Z",
"createdAt": "2026-01-28T18:34:51.261Z"
}