Hummus and Veggies
- userId
-
Jennifer Stoltenberg @jennifer_stoltenberg
- name
- Hummus and Veggies
- kind
- snack
- calories
- 479
- proteinGrams
- 41.1
- carbsGrams
- 54.9
- fatGrams
- 10.5
- eatenAt
- createdAt
Overview
meals / #110
Hummus and Veggies
#110
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/110" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/110" ); 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/110"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/110"
)
meal = res.json() Response
{
"id": 110,
"userId": 25,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 479,
"proteinGrams": 41.1,
"carbsGrams": 54.9,
"fatGrams": 10.5,
"eatenAt": "2025-11-11T03:29:03.666Z",
"createdAt": "2025-11-11T03:36:33.507Z"
}