Tofu Curry
- userId
-
Oma Franecki-Johnson @oma.franecki-johnson
- name
- Tofu Curry
- kind
- dinner
- calories
- 552
- proteinGrams
- 52.1
- carbsGrams
- 70.7
- fatGrams
- 6.8
- eatenAt
- createdAt
Overview
meals / #991
Tofu Curry
#991
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/991" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/991" ); 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/991"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/991"
)
meal = res.json() Response
{
"id": 991,
"userId": 242,
"name": "Tofu Curry",
"kind": "dinner",
"calories": 552,
"proteinGrams": 52.1,
"carbsGrams": 70.7,
"fatGrams": 6.8,
"eatenAt": "2025-09-17T06:58:55.725Z",
"createdAt": "2025-09-17T07:21:29.150Z"
}