example-data.com

meals / #197

userId
Maymie Boehm @maymie.boehm90
name
Quinoa Bowl
kind
lunch
calories
479
proteinGrams
29.2
carbsGrams
13.6
fatGrams
34.2
eatenAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/meals/197" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/meals/197"
);
const meal = await res.json();
import type { Meal } from "https://example-data.com/types/meals.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/meals/197"
);
const meal = (await res.json()) as Meal;
import requests

res = requests.get(
    "https://example-data.com/api/v1/meals/197"
)
meal = res.json()
{
  "id": 197,
  "userId": 48,
  "name": "Quinoa Bowl",
  "kind": "lunch",
  "calories": 479,
  "proteinGrams": 29.2,
  "carbsGrams": 13.6,
  "fatGrams": 34.2,
  "eatenAt": "2026-04-01T03:04:37.077Z",
  "createdAt": "2026-04-01T03:08:10.914Z"
}
Draftbit