Hummus and Veggies
- userId
-
Leonel Hamill @leonel_hamill33
- name
- Hummus and Veggies
- kind
- snack
- calories
- 263
- proteinGrams
- 35.5
- carbsGrams
- 14
- fatGrams
- 7.2
- eatenAt
- createdAt
Overview
meals / #44
Hummus and Veggies
#44
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/44" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/44" ); 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/44"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/44"
)
meal = res.json() Response
{
"id": 44,
"userId": 11,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 263,
"proteinGrams": 35.5,
"carbsGrams": 14,
"fatGrams": 7.2,
"eatenAt": "2026-04-03T23:47:20.263Z",
"createdAt": "2026-04-03T23:57:14.734Z"
}