Shrimp and Veggies
- userId
-
Consuelo Borer @consuelo.borer
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 484
- proteinGrams
- 27.7
- carbsGrams
- 27.3
- fatGrams
- 29.3
- eatenAt
- createdAt
Overview
meals / #828
Shrimp and Veggies
#828
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/828" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/828" ); 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/828"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/828"
)
meal = res.json() Response
{
"id": 828,
"userId": 200,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 484,
"proteinGrams": 27.7,
"carbsGrams": 27.3,
"fatGrams": 29.3,
"eatenAt": "2026-02-02T11:02:05.602Z",
"createdAt": "2026-02-02T11:27:56.569Z"
}