Pasta with Marinara
- userId
-
Lacy Gusikowski @lacy.gusikowski
- name
- Pasta with Marinara
- kind
- dinner
- calories
- 362
- proteinGrams
- 47.1
- carbsGrams
- 23.1
- fatGrams
- 9
- eatenAt
- createdAt
Overview
meals / #191
Pasta with Marinara
#191
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/191" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/191" ); 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/191"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/191"
)
meal = res.json() Response
{
"id": 191,
"userId": 47,
"name": "Pasta with Marinara",
"kind": "dinner",
"calories": 362,
"proteinGrams": 47.1,
"carbsGrams": 23.1,
"fatGrams": 9,
"eatenAt": "2026-03-12T22:06:01.320Z",
"createdAt": "2026-03-12T22:30:07.497Z"
}