Granola Bowl
- userId
-
Wendy Borer @wendy_borer
- name
- Granola Bowl
- kind
- breakfast
- calories
- 596
- proteinGrams
- 26.7
- carbsGrams
- 70
- fatGrams
- 23.2
- eatenAt
- createdAt
Overview
meals / #591
Granola Bowl
#591
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/591" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/591" ); 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/591"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/591"
)
meal = res.json() Response
{
"id": 591,
"userId": 141,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 596,
"proteinGrams": 26.7,
"carbsGrams": 70,
"fatGrams": 23.2,
"eatenAt": "2025-06-02T18:11:38.886Z",
"createdAt": "2025-06-02T18:22:56.686Z"
}