Hummus and Veggies
- userId
-
Virginie O'Connell @virginie.oconnell55
- name
- Hummus and Veggies
- kind
- snack
- calories
- 478
- proteinGrams
- 7.9
- carbsGrams
- 74.5
- fatGrams
- 16.5
- eatenAt
- createdAt
Overview
meals / #286
Hummus and Veggies
#286
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/286" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/286" ); 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/286"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/286"
)
meal = res.json() Response
{
"id": 286,
"userId": 70,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 478,
"proteinGrams": 7.9,
"carbsGrams": 74.5,
"fatGrams": 16.5,
"eatenAt": "2026-03-20T20:54:19.024Z",
"createdAt": "2026-03-20T20:57:10.567Z"
}