Shrimp and Veggies
- userId
-
Hermina West @hermina.west3
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 631
- proteinGrams
- 5.8
- carbsGrams
- 75
- fatGrams
- 34.2
- eatenAt
- createdAt
Overview
meals / #208
Shrimp and Veggies
#208
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/208" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/208" ); 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/208"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/208"
)
meal = res.json() Response
{
"id": 208,
"userId": 51,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 631,
"proteinGrams": 5.8,
"carbsGrams": 75,
"fatGrams": 34.2,
"eatenAt": "2025-07-15T09:06:21.503Z",
"createdAt": "2025-07-15T09:24:15.099Z"
}