Granola Bowl
- userId
-
Sam Hegmann-Jast @sam_hegmann-jast86
- name
- Granola Bowl
- kind
- breakfast
- calories
- 494
- proteinGrams
- 25.2
- carbsGrams
- 21.3
- fatGrams
- 34.2
- eatenAt
- createdAt
Overview
meals / #474
Granola Bowl
#474
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/474" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/474" ); 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/474"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/474"
)
meal = res.json() Response
{
"id": 474,
"userId": 114,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 494,
"proteinGrams": 25.2,
"carbsGrams": 21.3,
"fatGrams": 34.2,
"eatenAt": "2025-07-19T09:27:01.302Z",
"createdAt": "2025-07-19T09:45:10.512Z"
}