Granola Bowl
- userId
-
Raheem Kovacek @raheem_kovacek3
- name
- Granola Bowl
- kind
- breakfast
- calories
- 405
- proteinGrams
- 10.2
- carbsGrams
- 22.3
- fatGrams
- 30.6
- eatenAt
- createdAt
Overview
meals / #235
Granola Bowl
#235
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/235" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/235" ); 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/235"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/235"
)
meal = res.json() Response
{
"id": 235,
"userId": 57,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 405,
"proteinGrams": 10.2,
"carbsGrams": 22.3,
"fatGrams": 30.6,
"eatenAt": "2025-07-12T15:40:15.038Z",
"createdAt": "2025-07-12T15:54:58.237Z"
}