Hummus and Veggies
- userId
-
Kathleen Lynch @kathleen_lynch1
- name
- Hummus and Veggies
- kind
- snack
- calories
- 328
- proteinGrams
- 15.8
- carbsGrams
- 40.9
- fatGrams
- 11.2
- eatenAt
- createdAt
Overview
meals / #577
Hummus and Veggies
#577
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/577" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/577" ); 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/577"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/577"
)
meal = res.json() Response
{
"id": 577,
"userId": 139,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 328,
"proteinGrams": 15.8,
"carbsGrams": 40.9,
"fatGrams": 11.2,
"eatenAt": "2026-02-26T15:34:06.442Z",
"createdAt": "2026-02-26T15:55:01.654Z"
}