Shrimp and Veggies
- userId
-
Ruben Terry @ruben.terry
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 409
- proteinGrams
- 43.8
- carbsGrams
- 7.4
- fatGrams
- 22.7
- eatenAt
- createdAt
Overview
meals / #377
Shrimp and Veggies
#377
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/377" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/377" ); 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/377"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/377"
)
meal = res.json() Response
{
"id": 377,
"userId": 91,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 409,
"proteinGrams": 43.8,
"carbsGrams": 7.4,
"fatGrams": 22.7,
"eatenAt": "2026-04-22T21:29:44.420Z",
"createdAt": "2026-04-22T21:49:22.864Z"
}