Veggie Burger
- userId
-
Minerva Hettinger @minerva_hettinger
- name
- Veggie Burger
- kind
- lunch
- calories
- 638
- proteinGrams
- 36.9
- carbsGrams
- 44.8
- fatGrams
- 34.6
- eatenAt
- createdAt
Overview
meals / #755
Veggie Burger
#755
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/755" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/755" ); 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/755"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/755"
)
meal = res.json() Response
{
"id": 755,
"userId": 183,
"name": "Veggie Burger",
"kind": "lunch",
"calories": 638,
"proteinGrams": 36.9,
"carbsGrams": 44.8,
"fatGrams": 34.6,
"eatenAt": "2026-02-13T03:40:25.871Z",
"createdAt": "2026-02-13T03:57:52.278Z"
}