Granola Bowl
- userId
-
Melba Collier @melba.collier
- name
- Granola Bowl
- kind
- breakfast
- calories
- 377
- proteinGrams
- 5.4
- carbsGrams
- 70.7
- fatGrams
- 8.1
- eatenAt
- createdAt
Overview
meals / #83
Granola Bowl
#83
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/83" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/83" ); 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/83"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/83"
)
meal = res.json() Response
{
"id": 83,
"userId": 19,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 377,
"proteinGrams": 5.4,
"carbsGrams": 70.7,
"fatGrams": 8.1,
"eatenAt": "2025-12-13T22:48:01.099Z",
"createdAt": "2025-12-13T23:02:13.736Z"
}