Granola Bowl
- userId
-
Raheem Kovacek @raheem_kovacek3
- name
- Granola Bowl
- kind
- breakfast
- calories
- 411
- proteinGrams
- 39.9
- carbsGrams
- 15.8
- fatGrams
- 20.9
- eatenAt
- createdAt
Overview
meals / #237
Granola Bowl
#237
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/237" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/237" ); 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/237"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/237"
)
meal = res.json() Response
{
"id": 237,
"userId": 57,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 411,
"proteinGrams": 39.9,
"carbsGrams": 15.8,
"fatGrams": 20.9,
"eatenAt": "2025-12-24T03:29:57.475Z",
"createdAt": "2025-12-24T03:40:52.460Z"
}