Beef Tacos
- userId
-
Marlin Goldner @marlin_goldner6
- name
- Beef Tacos
- kind
- dinner
- calories
- 542
- proteinGrams
- 52
- carbsGrams
- 76.5
- fatGrams
- 3.1
- eatenAt
- createdAt
Overview
meals / #663
Beef Tacos
#663
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/663" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/663" ); 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/663"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/663"
)
meal = res.json() Response
{
"id": 663,
"userId": 160,
"name": "Beef Tacos",
"kind": "dinner",
"calories": 542,
"proteinGrams": 52,
"carbsGrams": 76.5,
"fatGrams": 3.1,
"eatenAt": "2025-06-03T10:00:01.991Z",
"createdAt": "2025-06-03T10:07:11.513Z"
}