Hummus and Veggies
- userId
-
Myrtie Daniel @myrtie_daniel33
- name
- Hummus and Veggies
- kind
- snack
- calories
- 256
- proteinGrams
- 17.4
- carbsGrams
- 16.5
- fatGrams
- 13.4
- eatenAt
- createdAt
Overview
meals / #183
Hummus and Veggies
#183
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/183" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/183" ); 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/183"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/183"
)
meal = res.json() Response
{
"id": 183,
"userId": 45,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 256,
"proteinGrams": 17.4,
"carbsGrams": 16.5,
"fatGrams": 13.4,
"eatenAt": "2025-11-09T18:11:26.678Z",
"createdAt": "2025-11-09T18:35:25.807Z"
}