Chicken Stir-Fry
- userId
-
Ismael Ward @ismael_ward
- name
- Chicken Stir-Fry
- kind
- dinner
- calories
- 745
- proteinGrams
- 30.9
- carbsGrams
- 72.2
- fatGrams
- 37
- eatenAt
- createdAt
Overview
meals / #729
Chicken Stir-Fry
#729
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/729" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/729" ); 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/729"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/729"
)
meal = res.json() Response
{
"id": 729,
"userId": 178,
"name": "Chicken Stir-Fry",
"kind": "dinner",
"calories": 745,
"proteinGrams": 30.9,
"carbsGrams": 72.2,
"fatGrams": 37,
"eatenAt": "2026-01-28T21:07:19.267Z",
"createdAt": "2026-01-28T21:35:45.424Z"
}