Hummus and Veggies
- userId
-
Lavonne Schmidt @lavonne.schmidt95
- name
- Hummus and Veggies
- kind
- snack
- calories
- 181
- proteinGrams
- 10.4
- carbsGrams
- 28.9
- fatGrams
- 2.6
- eatenAt
- createdAt
Overview
meals / #797
Hummus and Veggies
#797
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/797" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/797" ); 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/797"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/797"
)
meal = res.json() Response
{
"id": 797,
"userId": 192,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 181,
"proteinGrams": 10.4,
"carbsGrams": 28.9,
"fatGrams": 2.6,
"eatenAt": "2025-12-30T10:08:34.614Z",
"createdAt": "2025-12-30T10:15:48.128Z"
}