Grilled Turkey Breast
- userId
-
Mateo Gerlach @mateo.gerlach
- name
- Grilled Turkey Breast
- kind
- dinner
- calories
- 362
- proteinGrams
- 25
- carbsGrams
- 15
- fatGrams
- 22.4
- eatenAt
- createdAt
Overview
meals / #341
Grilled Turkey Breast
#341
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/341" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/341" ); 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/341"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/341"
)
meal = res.json() Response
{
"id": 341,
"userId": 81,
"name": "Grilled Turkey Breast",
"kind": "dinner",
"calories": 362,
"proteinGrams": 25,
"carbsGrams": 15,
"fatGrams": 22.4,
"eatenAt": "2026-01-26T01:02:24.075Z",
"createdAt": "2026-01-26T01:04:44.356Z"
}