Tuna Wrap
- userId
-
Kenya Abshire @kenya.abshire
- name
- Tuna Wrap
- kind
- lunch
- calories
- 283
- proteinGrams
- 6.4
- carbsGrams
- 18.1
- fatGrams
- 20.5
- eatenAt
- createdAt
Overview
meals / #78
Tuna Wrap
#78
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/78" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/78" ); 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/78"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/78"
)
meal = res.json() Response
{
"id": 78,
"userId": 18,
"name": "Tuna Wrap",
"kind": "lunch",
"calories": 283,
"proteinGrams": 6.4,
"carbsGrams": 18.1,
"fatGrams": 20.5,
"eatenAt": "2025-07-26T02:25:01.236Z",
"createdAt": "2025-07-26T02:46:09.437Z"
}