Mediterranean Bowl
- userId
-
Abdul Rau @abdul.rau
- name
- Mediterranean Bowl
- kind
- dinner
- calories
- 308
- proteinGrams
- 33.9
- carbsGrams
- 19.8
- fatGrams
- 10.4
- eatenAt
- createdAt
Overview
meals / #446
Mediterranean Bowl
#446
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/446" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/446" ); 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/446"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/446"
)
meal = res.json() Response
{
"id": 446,
"userId": 108,
"name": "Mediterranean Bowl",
"kind": "dinner",
"calories": 308,
"proteinGrams": 33.9,
"carbsGrams": 19.8,
"fatGrams": 10.4,
"eatenAt": "2025-07-09T00:57:42.916Z",
"createdAt": "2025-07-09T01:21:33.588Z"
}