Rice Cakes
- userId
-
Lemuel Jast @lemuel.jast27
- name
- Rice Cakes
- kind
- snack
- calories
- 598
- proteinGrams
- 32.2
- carbsGrams
- 60.7
- fatGrams
- 25.1
- eatenAt
- createdAt
Overview
meals / #433
Rice Cakes
#433
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/433" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/433" ); 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/433"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/433"
)
meal = res.json() Response
{
"id": 433,
"userId": 105,
"name": "Rice Cakes",
"kind": "snack",
"calories": 598,
"proteinGrams": 32.2,
"carbsGrams": 60.7,
"fatGrams": 25.1,
"eatenAt": "2025-09-03T17:26:35.689Z",
"createdAt": "2025-09-03T17:38:28.738Z"
}