Brown Rice and Veggies
- userId
-
Lenny Howe @lenny.howe
- name
- Brown Rice and Veggies
- kind
- lunch
- calories
- 362
- proteinGrams
- 9.7
- carbsGrams
- 53.7
- fatGrams
- 12
- eatenAt
- createdAt
Overview
meals / #152
Brown Rice and Veggies
#152
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/152" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/152" ); 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/152"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/152"
)
meal = res.json() Response
{
"id": 152,
"userId": 37,
"name": "Brown Rice and Veggies",
"kind": "lunch",
"calories": 362,
"proteinGrams": 9.7,
"carbsGrams": 53.7,
"fatGrams": 12,
"eatenAt": "2026-04-23T18:52:22.989Z",
"createdAt": "2026-04-23T19:12:56.223Z"
}