Granola Bowl
- userId
-
Kevon Dickinson @kevon.dickinson
- name
- Granola Bowl
- kind
- breakfast
- calories
- 295
- proteinGrams
- 36
- carbsGrams
- 21.8
- fatGrams
- 7.1
- eatenAt
- createdAt
Overview
meals / #897
Granola Bowl
#897
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/897" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/897" ); 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/897"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/897"
)
meal = res.json() Response
{
"id": 897,
"userId": 218,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 295,
"proteinGrams": 36,
"carbsGrams": 21.8,
"fatGrams": 7.1,
"eatenAt": "2025-12-12T14:42:42.880Z",
"createdAt": "2025-12-12T14:44:00.691Z"
}