Mediterranean Bowl
- userId
-
Amina King @amina_king41
- name
- Mediterranean Bowl
- kind
- dinner
- calories
- 502
- proteinGrams
- 16.2
- carbsGrams
- 29.2
- fatGrams
- 35.6
- eatenAt
- createdAt
Overview
meals / #7
Mediterranean Bowl
#7
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/7" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/7" ); 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/7"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/7"
)
meal = res.json() Response
{
"id": 7,
"userId": 2,
"name": "Mediterranean Bowl",
"kind": "dinner",
"calories": 502,
"proteinGrams": 16.2,
"carbsGrams": 29.2,
"fatGrams": 35.6,
"eatenAt": "2025-09-04T13:07:45.001Z",
"createdAt": "2025-09-04T13:29:59.543Z"
}