Rice Cakes
- userId
-
Kenya Abshire @kenya.abshire
- name
- Rice Cakes
- kind
- snack
- calories
- 348
- proteinGrams
- 33.1
- carbsGrams
- 44.8
- fatGrams
- 4
- eatenAt
- createdAt
Overview
meals / #80
Rice Cakes
#80
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/80" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/80" ); 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/80"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/80"
)
meal = res.json() Response
{
"id": 80,
"userId": 18,
"name": "Rice Cakes",
"kind": "snack",
"calories": 348,
"proteinGrams": 33.1,
"carbsGrams": 44.8,
"fatGrams": 4,
"eatenAt": "2026-02-24T22:11:07.698Z",
"createdAt": "2026-02-24T22:40:25.260Z"
}