Brown Rice and Veggies
- userId
-
Elva Roberts @elva.roberts48
- name
- Brown Rice and Veggies
- kind
- lunch
- calories
- 372
- proteinGrams
- 29.1
- carbsGrams
- 31.5
- fatGrams
- 14.4
- eatenAt
- createdAt
Overview
meals / #440
Brown Rice and Veggies
#440
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/440" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/440" ); 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/440"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/440"
)
meal = res.json() Response
{
"id": 440,
"userId": 107,
"name": "Brown Rice and Veggies",
"kind": "lunch",
"calories": 372,
"proteinGrams": 29.1,
"carbsGrams": 31.5,
"fatGrams": 14.4,
"eatenAt": "2026-03-22T11:05:50.743Z",
"createdAt": "2026-03-22T11:17:58.946Z"
}