Protein Shake
- userId
-
Van Crona @van_crona
- name
- Protein Shake
- kind
- breakfast
- calories
- 507
- proteinGrams
- 53
- carbsGrams
- 58.5
- fatGrams
- 6.8
- eatenAt
- createdAt
Overview
meals / #761
Protein Shake
#761
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/761" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/761" ); 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/761"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/761"
)
meal = res.json() Response
{
"id": 761,
"userId": 185,
"name": "Protein Shake",
"kind": "breakfast",
"calories": 507,
"proteinGrams": 53,
"carbsGrams": 58.5,
"fatGrams": 6.8,
"eatenAt": "2026-03-01T14:25:13.263Z",
"createdAt": "2026-03-01T14:52:50.598Z"
}