Beef Tacos
- userId
-
Oma Franecki-Johnson @oma.franecki-johnson
- name
- Beef Tacos
- kind
- dinner
- calories
- 437
- proteinGrams
- 47.3
- carbsGrams
- 50.8
- fatGrams
- 5
- eatenAt
- createdAt
Overview
meals / #993
Beef Tacos
#993
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/993" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/993" ); 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/993"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/993"
)
meal = res.json() Response
{
"id": 993,
"userId": 242,
"name": "Beef Tacos",
"kind": "dinner",
"calories": 437,
"proteinGrams": 47.3,
"carbsGrams": 50.8,
"fatGrams": 5,
"eatenAt": "2026-04-25T02:50:56.132Z",
"createdAt": "2026-04-25T03:19:05.878Z"
}