Granola Bowl
- userId
-
Maximus Bosco @maximus_bosco
- name
- Granola Bowl
- kind
- breakfast
- calories
- 414
- proteinGrams
- 10.9
- carbsGrams
- 40.9
- fatGrams
- 23
- eatenAt
- createdAt
Overview
meals / #535
Granola Bowl
#535
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/535" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/535" ); 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/535"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/535"
)
meal = res.json() Response
{
"id": 535,
"userId": 128,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 414,
"proteinGrams": 10.9,
"carbsGrams": 40.9,
"fatGrams": 23,
"eatenAt": "2025-12-01T07:03:40.279Z",
"createdAt": "2025-12-01T07:13:13.773Z"
}