Oatmeal with Berries
- userId
-
Lilly Rosenbaum @lilly.rosenbaum
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 617
- proteinGrams
- 33.7
- carbsGrams
- 56.2
- fatGrams
- 28.6
- eatenAt
- createdAt
Overview
meals / #913
Oatmeal with Berries
#913
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/913" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/913" ); 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/913"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/913"
)
meal = res.json() Response
{
"id": 913,
"userId": 223,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 617,
"proteinGrams": 33.7,
"carbsGrams": 56.2,
"fatGrams": 28.6,
"eatenAt": "2026-03-22T03:51:41.105Z",
"createdAt": "2026-03-22T04:16:20.380Z"
}