Roasted Chicken
- userId
-
Tillman Breitenberg @tillman_breitenberg54
- name
- Roasted Chicken
- kind
- dinner
- calories
- 547
- proteinGrams
- 10.9
- carbsGrams
- 42.7
- fatGrams
- 36.9
- eatenAt
- createdAt
Overview
meals / #605
Roasted Chicken
#605
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/605" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/605" ); 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/605"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/605"
)
meal = res.json() Response
{
"id": 605,
"userId": 145,
"name": "Roasted Chicken",
"kind": "dinner",
"calories": 547,
"proteinGrams": 10.9,
"carbsGrams": 42.7,
"fatGrams": 36.9,
"eatenAt": "2025-11-29T23:37:13.405Z",
"createdAt": "2025-11-29T23:43:07.574Z"
}