Shrimp and Veggies
- userId
-
Adelia Roberts @adelia_roberts0
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 263
- proteinGrams
- 6.2
- carbsGrams
- 19.3
- fatGrams
- 17.9
- eatenAt
- createdAt
Overview
meals / #949
Shrimp and Veggies
#949
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/949" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/949" ); 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/949"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/949"
)
meal = res.json() Response
{
"id": 949,
"userId": 231,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 263,
"proteinGrams": 6.2,
"carbsGrams": 19.3,
"fatGrams": 17.9,
"eatenAt": "2026-01-04T00:15:34.995Z",
"createdAt": "2026-01-04T00:31:51.811Z"
}