Shrimp and Veggies
- userId
-
Mateo Gerlach @mateo.gerlach
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 446
- proteinGrams
- 11.5
- carbsGrams
- 57.4
- fatGrams
- 18.9
- eatenAt
- createdAt
Overview
meals / #337
Shrimp and Veggies
#337
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/337" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/337" ); 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/337"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/337"
)
meal = res.json() Response
{
"id": 337,
"userId": 81,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 446,
"proteinGrams": 11.5,
"carbsGrams": 57.4,
"fatGrams": 18.9,
"eatenAt": "2026-04-04T00:03:27.469Z",
"createdAt": "2026-04-04T00:30:48.139Z"
}