Almonds
- userId
-
Fatima Dicki @fatima_dicki
- name
- Almonds
- kind
- snack
- calories
- 203
- proteinGrams
- 32.2
- carbsGrams
- 11.6
- fatGrams
- 3.1
- eatenAt
- createdAt
Overview
meals / #719
Almonds
#719
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/719" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/719" ); 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/719"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/719"
)
meal = res.json() Response
{
"id": 719,
"userId": 176,
"name": "Almonds",
"kind": "snack",
"calories": 203,
"proteinGrams": 32.2,
"carbsGrams": 11.6,
"fatGrams": 3.1,
"eatenAt": "2025-06-10T06:08:20.302Z",
"createdAt": "2025-06-10T06:24:26.679Z"
}