Shrimp and Veggies
- userId
-
Daren Lockman @daren_lockman67
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 506
- proteinGrams
- 24.4
- carbsGrams
- 14.7
- fatGrams
- 38.8
- eatenAt
- createdAt
Overview
meals / #486
Shrimp and Veggies
#486
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/486" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/486" ); 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/486"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/486"
)
meal = res.json() Response
{
"id": 486,
"userId": 116,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 506,
"proteinGrams": 24.4,
"carbsGrams": 14.7,
"fatGrams": 38.8,
"eatenAt": "2025-06-05T01:34:11.651Z",
"createdAt": "2025-06-05T02:00:49.194Z"
}