Pancakes
- userId
-
Lacy Gusikowski @lacy.gusikowski
- name
- Pancakes
- kind
- breakfast
- calories
- 610
- proteinGrams
- 6.8
- carbsGrams
- 72.1
- fatGrams
- 32.7
- eatenAt
- createdAt
Overview
meals / #190
Pancakes
#190
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/190" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/190" ); 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/190"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/190"
)
meal = res.json() Response
{
"id": 190,
"userId": 47,
"name": "Pancakes",
"kind": "breakfast",
"calories": 610,
"proteinGrams": 6.8,
"carbsGrams": 72.1,
"fatGrams": 32.7,
"eatenAt": "2025-09-07T03:50:59.329Z",
"createdAt": "2025-09-07T04:06:25.192Z"
}