Almonds
- userId
-
Della Labadie @della_labadie
- name
- Almonds
- kind
- snack
- calories
- 494
- proteinGrams
- 42.1
- carbsGrams
- 49.8
- fatGrams
- 14
- eatenAt
- createdAt
Overview
meals / #189
Almonds
#189
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/189" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/189" ); 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/189"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/189"
)
meal = res.json() Response
{
"id": 189,
"userId": 46,
"name": "Almonds",
"kind": "snack",
"calories": 494,
"proteinGrams": 42.1,
"carbsGrams": 49.8,
"fatGrams": 14,
"eatenAt": "2026-04-07T19:49:41.297Z",
"createdAt": "2026-04-07T20:12:32.852Z"
}