Shrimp and Veggies
- userId
-
Lazaro Herzog @lazaro_herzog
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 305
- proteinGrams
- 54.6
- carbsGrams
- 16.3
- fatGrams
- 2.4
- eatenAt
- createdAt
Overview
meals / #743
Shrimp and Veggies
#743
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/743" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/743" ); 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/743"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/743"
)
meal = res.json() Response
{
"id": 743,
"userId": 181,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 305,
"proteinGrams": 54.6,
"carbsGrams": 16.3,
"fatGrams": 2.4,
"eatenAt": "2026-04-27T14:25:05.475Z",
"createdAt": "2026-04-27T14:53:35.562Z"
}