Mediterranean Bowl
- userId
-
Leonel Hamill @leonel_hamill33
- name
- Mediterranean Bowl
- kind
- dinner
- calories
- 664
- proteinGrams
- 47.4
- carbsGrams
- 38.3
- fatGrams
- 35.7
- eatenAt
- createdAt
Overview
meals / #43
Mediterranean Bowl
#43
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/43" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/43" ); 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/43"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/43"
)
meal = res.json() Response
{
"id": 43,
"userId": 11,
"name": "Mediterranean Bowl",
"kind": "dinner",
"calories": 664,
"proteinGrams": 47.4,
"carbsGrams": 38.3,
"fatGrams": 35.7,
"eatenAt": "2025-12-15T15:27:15.732Z",
"createdAt": "2025-12-15T15:47:20.467Z"
}