Smoothie Bowl
- userId
-
Alvena Emmerich @alvena_emmerich52
- name
- Smoothie Bowl
- kind
- breakfast
- calories
- 515
- proteinGrams
- 15
- carbsGrams
- 26.1
- fatGrams
- 39
- eatenAt
- createdAt
Overview
meals / #34
Smoothie Bowl
#34
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/34" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/34" ); 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/34"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/34"
)
meal = res.json() Response
{
"id": 34,
"userId": 8,
"name": "Smoothie Bowl",
"kind": "breakfast",
"calories": 515,
"proteinGrams": 15,
"carbsGrams": 26.1,
"fatGrams": 39,
"eatenAt": "2025-07-01T22:13:10.882Z",
"createdAt": "2025-07-01T22:18:12.844Z"
}