Oatmeal with Berries
- userId
-
Gavin Lowe @gavin_lowe
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 598
- proteinGrams
- 47.3
- carbsGrams
- 57.9
- fatGrams
- 19.7
- eatenAt
- createdAt
Overview
meals / #75
Oatmeal with Berries
#75
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/75" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/75" ); 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/75"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/75"
)
meal = res.json() Response
{
"id": 75,
"userId": 17,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 598,
"proteinGrams": 47.3,
"carbsGrams": 57.9,
"fatGrams": 19.7,
"eatenAt": "2026-05-20T03:24:52.521Z",
"createdAt": "2026-05-20T03:25:32.814Z"
}