Rice Cakes
- userId
-
Jarrell Flatley @jarrell_flatley39
- name
- Rice Cakes
- kind
- snack
- calories
- 325
- proteinGrams
- 43.6
- carbsGrams
- 20.2
- fatGrams
- 7.7
- eatenAt
- createdAt
Overview
meals / #252
Rice Cakes
#252
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/252" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/252" ); 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/252"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/252"
)
meal = res.json() Response
{
"id": 252,
"userId": 61,
"name": "Rice Cakes",
"kind": "snack",
"calories": 325,
"proteinGrams": 43.6,
"carbsGrams": 20.2,
"fatGrams": 7.7,
"eatenAt": "2026-03-31T23:07:49.160Z",
"createdAt": "2026-03-31T23:22:36.879Z"
}