Scrambled Eggs
- userId
-
Brad Wisoky @brad.wisoky41
- name
- Scrambled Eggs
- kind
- breakfast
- calories
- 503
- proteinGrams
- 7.7
- carbsGrams
- 46.1
- fatGrams
- 32
- eatenAt
- createdAt
Overview
meals / #638
Scrambled Eggs
#638
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/638" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/638" ); 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/638"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/638"
)
meal = res.json() Response
{
"id": 638,
"userId": 154,
"name": "Scrambled Eggs",
"kind": "breakfast",
"calories": 503,
"proteinGrams": 7.7,
"carbsGrams": 46.1,
"fatGrams": 32,
"eatenAt": "2026-02-04T10:44:34.156Z",
"createdAt": "2026-02-04T11:00:49.363Z"
}