Scrambled Eggs
- userId
-
Theresia Collins @theresia_collins86
- name
- Scrambled Eggs
- kind
- breakfast
- calories
- 606
- proteinGrams
- 59.7
- carbsGrams
- 40.5
- fatGrams
- 22.8
- eatenAt
- createdAt
Overview
meals / #262
Scrambled Eggs
#262
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/262" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/262" ); 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/262"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/262"
)
meal = res.json() Response
{
"id": 262,
"userId": 63,
"name": "Scrambled Eggs",
"kind": "breakfast",
"calories": 606,
"proteinGrams": 59.7,
"carbsGrams": 40.5,
"fatGrams": 22.8,
"eatenAt": "2026-04-26T19:01:28.516Z",
"createdAt": "2026-04-26T19:13:10.480Z"
}