Almonds
- userId
-
Vincenza Zemlak-Collier @vincenza_zemlak-collier
- name
- Almonds
- kind
- snack
- calories
- 350
- proteinGrams
- 54.4
- carbsGrams
- 9.9
- fatGrams
- 10.3
- eatenAt
- createdAt
Overview
meals / #692
Almonds
#692
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/692" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/692" ); 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/692"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/692"
)
meal = res.json() Response
{
"id": 692,
"userId": 168,
"name": "Almonds",
"kind": "snack",
"calories": 350,
"proteinGrams": 54.4,
"carbsGrams": 9.9,
"fatGrams": 10.3,
"eatenAt": "2025-08-14T23:31:02.415Z",
"createdAt": "2025-08-14T23:54:40.137Z"
}