example-data.com

meals / #175

userId
Everett Yundt @everett_yundt11
name
Hummus and Veggies
kind
snack
calories
439
proteinGrams
5.7
carbsGrams
38.6
fatGrams
29.1
eatenAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/meals/175" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/meals/175"
);
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/175"
);
const meal = (await res.json()) as Meal;
import requests

res = requests.get(
    "https://example-data.com/api/v1/meals/175"
)
meal = res.json()
{
  "id": 175,
  "userId": 44,
  "name": "Hummus and Veggies",
  "kind": "snack",
  "calories": 439,
  "proteinGrams": 5.7,
  "carbsGrams": 38.6,
  "fatGrams": 29.1,
  "eatenAt": "2026-05-18T01:21:37.087Z",
  "createdAt": "2026-05-18T01:48:09.437Z"
}
Draftbit