Chicken Stir-Fry
- userId
-
Hermina West @hermina.west3
- name
- Chicken Stir-Fry
- kind
- dinner
- calories
- 350
- proteinGrams
- 26
- carbsGrams
- 56.2
- fatGrams
- 2.3
- eatenAt
- createdAt
Overview
meals / #210
Chicken Stir-Fry
#210
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/210" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/210" ); 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/210"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/210"
)
meal = res.json() Response
{
"id": 210,
"userId": 51,
"name": "Chicken Stir-Fry",
"kind": "dinner",
"calories": 350,
"proteinGrams": 26,
"carbsGrams": 56.2,
"fatGrams": 2.3,
"eatenAt": "2025-06-30T18:31:31.260Z",
"createdAt": "2025-06-30T18:58:43.033Z"
}