Overnight Oats
- userId
-
Green Kozey @green_kozey22
- name
- Overnight Oats
- kind
- breakfast
- calories
- 358
- proteinGrams
- 9
- carbsGrams
- 28.3
- fatGrams
- 23.2
- eatenAt
- createdAt
Overview
meals / #202
Overnight Oats
#202
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/202" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/202" ); 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/202"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/202"
)
meal = res.json() Response
{
"id": 202,
"userId": 49,
"name": "Overnight Oats",
"kind": "breakfast",
"calories": 358,
"proteinGrams": 9,
"carbsGrams": 28.3,
"fatGrams": 23.2,
"eatenAt": "2025-09-13T08:08:17.304Z",
"createdAt": "2025-09-13T08:33:11.565Z"
}