Overnight Oats
- userId
-
Sheridan Turcotte @sheridan.turcotte
- name
- Overnight Oats
- kind
- breakfast
- calories
- 408
- proteinGrams
- 10.3
- carbsGrams
- 56.2
- fatGrams
- 15.8
- eatenAt
- createdAt
Overview
meals / #634
Overnight Oats
#634
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/634" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/634" ); 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/634"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/634"
)
meal = res.json() Response
{
"id": 634,
"userId": 153,
"name": "Overnight Oats",
"kind": "breakfast",
"calories": 408,
"proteinGrams": 10.3,
"carbsGrams": 56.2,
"fatGrams": 15.8,
"eatenAt": "2026-05-20T02:08:37.675Z",
"createdAt": "2026-05-20T02:30:45.655Z"
}