Brown Rice and Veggies
- userId
-
Chyna Kozey @chyna_kozey80
- name
- Brown Rice and Veggies
- kind
- lunch
- calories
- 704
- proteinGrams
- 48.7
- carbsGrams
- 58.4
- fatGrams
- 30.6
- eatenAt
- createdAt
Overview
meals / #585
Brown Rice and Veggies
#585
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/585" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/585" ); 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/585"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/585"
)
meal = res.json() Response
{
"id": 585,
"userId": 140,
"name": "Brown Rice and Veggies",
"kind": "lunch",
"calories": 704,
"proteinGrams": 48.7,
"carbsGrams": 58.4,
"fatGrams": 30.6,
"eatenAt": "2025-10-01T15:23:07.470Z",
"createdAt": "2025-10-01T15:42:16.685Z"
}