Tuna Wrap
- userId
-
Daisy Kuhic @daisy_kuhic24
- name
- Tuna Wrap
- kind
- lunch
- calories
- 409
- proteinGrams
- 29.1
- carbsGrams
- 10.6
- fatGrams
- 27.8
- eatenAt
- createdAt
Overview
meals / #707
Tuna Wrap
#707
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/707" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/707" ); 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/707"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/707"
)
meal = res.json() Response
{
"id": 707,
"userId": 172,
"name": "Tuna Wrap",
"kind": "lunch",
"calories": 409,
"proteinGrams": 29.1,
"carbsGrams": 10.6,
"fatGrams": 27.8,
"eatenAt": "2025-11-27T17:30:47.856Z",
"createdAt": "2025-11-27T17:34:34.772Z"
}