Scrambled Eggs
- userId
-
Rosemary Krajcik @rosemary_krajcik
- name
- Scrambled Eggs
- kind
- breakfast
- calories
- 554
- proteinGrams
- 50.6
- carbsGrams
- 64.4
- fatGrams
- 10.4
- eatenAt
- createdAt
Overview
meals / #790
Scrambled Eggs
#790
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/790" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/790" ); 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/790"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/790"
)
meal = res.json() Response
{
"id": 790,
"userId": 191,
"name": "Scrambled Eggs",
"kind": "breakfast",
"calories": 554,
"proteinGrams": 50.6,
"carbsGrams": 64.4,
"fatGrams": 10.4,
"eatenAt": "2026-02-15T03:50:05.872Z",
"createdAt": "2026-02-15T03:55:47.838Z"
}