Protein Shake
- userId
-
Sheridan Turcotte @sheridan.turcotte
- name
- Protein Shake
- kind
- breakfast
- calories
- 662
- proteinGrams
- 48.7
- carbsGrams
- 67.4
- fatGrams
- 22
- eatenAt
- createdAt
Overview
meals / #632
Protein Shake
#632
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/632" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/632" ); 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/632"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/632"
)
meal = res.json() Response
{
"id": 632,
"userId": 153,
"name": "Protein Shake",
"kind": "breakfast",
"calories": 662,
"proteinGrams": 48.7,
"carbsGrams": 67.4,
"fatGrams": 22,
"eatenAt": "2025-10-15T23:03:53.988Z",
"createdAt": "2025-10-15T23:28:32.994Z"
}