Pancakes
- userId
-
Samson Stroman @samson_stroman
- name
- Pancakes
- kind
- breakfast
- calories
- 607
- proteinGrams
- 58.1
- carbsGrams
- 63.3
- fatGrams
- 13.5
- eatenAt
- createdAt
Overview
meals / #213
Pancakes
#213
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/213" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/213" ); 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/213"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/213"
)
meal = res.json() Response
{
"id": 213,
"userId": 52,
"name": "Pancakes",
"kind": "breakfast",
"calories": 607,
"proteinGrams": 58.1,
"carbsGrams": 63.3,
"fatGrams": 13.5,
"eatenAt": "2025-09-21T05:42:15.057Z",
"createdAt": "2025-09-21T06:10:46.687Z"
}