Chicken Stir-Fry
- userId
-
Carley Gleichner @carley.gleichner
- name
- Chicken Stir-Fry
- kind
- dinner
- calories
- 419
- proteinGrams
- 29.7
- carbsGrams
- 23.2
- fatGrams
- 23
- eatenAt
- createdAt
Overview
meals / #595
Chicken Stir-Fry
#595
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/595" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/595" ); 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/595"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/595"
)
meal = res.json() Response
{
"id": 595,
"userId": 142,
"name": "Chicken Stir-Fry",
"kind": "dinner",
"calories": 419,
"proteinGrams": 29.7,
"carbsGrams": 23.2,
"fatGrams": 23,
"eatenAt": "2025-06-28T11:40:33.632Z",
"createdAt": "2025-06-28T11:41:59.425Z"
}