Granola Bowl
- userId
-
Oma Franecki-Johnson @oma.franecki-johnson
- name
- Granola Bowl
- kind
- breakfast
- calories
- 530
- proteinGrams
- 21.6
- carbsGrams
- 78.7
- fatGrams
- 14.3
- eatenAt
- createdAt
Overview
meals / #992
Granola Bowl
#992
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/992" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/992" ); 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/992"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/992"
)
meal = res.json() Response
{
"id": 992,
"userId": 242,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 530,
"proteinGrams": 21.6,
"carbsGrams": 78.7,
"fatGrams": 14.3,
"eatenAt": "2026-03-24T03:28:49.986Z",
"createdAt": "2026-03-24T03:32:10.276Z"
}