Shrimp and Veggies
- userId
-
Tillman Breitenberg @tillman_breitenberg54
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 542
- proteinGrams
- 59.8
- carbsGrams
- 22.3
- fatGrams
- 23.7
- eatenAt
- createdAt
Overview
meals / #606
Shrimp and Veggies
#606
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/606" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/606" ); 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/606"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/606"
)
meal = res.json() Response
{
"id": 606,
"userId": 145,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 542,
"proteinGrams": 59.8,
"carbsGrams": 22.3,
"fatGrams": 23.7,
"eatenAt": "2025-10-07T19:18:10.585Z",
"createdAt": "2025-10-07T19:22:28.352Z"
}