Tuna Wrap
- userId
-
Lilly Rosenbaum @lilly.rosenbaum
- name
- Tuna Wrap
- kind
- lunch
- calories
- 603
- proteinGrams
- 53.8
- carbsGrams
- 29.4
- fatGrams
- 30
- eatenAt
- createdAt
Overview
meals / #915
Tuna Wrap
#915
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/915" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/915" ); 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/915"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/915"
)
meal = res.json() Response
{
"id": 915,
"userId": 223,
"name": "Tuna Wrap",
"kind": "lunch",
"calories": 603,
"proteinGrams": 53.8,
"carbsGrams": 29.4,
"fatGrams": 30,
"eatenAt": "2026-04-04T06:49:21.836Z",
"createdAt": "2026-04-04T07:17:29.861Z"
}