Hummus and Veggies
- userId
-
Rosina Larkin @rosina.larkin75
- name
- Hummus and Veggies
- kind
- snack
- calories
- 858
- proteinGrams
- 56.9
- carbsGrams
- 70
- fatGrams
- 38.9
- eatenAt
- createdAt
Overview
meals / #426
Hummus and Veggies
#426
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/426" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/426" ); 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/426"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/426"
)
meal = res.json() Response
{
"id": 426,
"userId": 103,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 858,
"proteinGrams": 56.9,
"carbsGrams": 70,
"fatGrams": 38.9,
"eatenAt": "2025-09-29T02:26:19.642Z",
"createdAt": "2025-09-29T02:40:05.364Z"
}