Beef Tacos
- userId
-
Kevon Dickinson @kevon.dickinson
- name
- Beef Tacos
- kind
- dinner
- calories
- 404
- proteinGrams
- 13.5
- carbsGrams
- 32.1
- fatGrams
- 24.6
- eatenAt
- createdAt
Overview
meals / #895
Beef Tacos
#895
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/895" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/895" ); 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/895"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/895"
)
meal = res.json() Response
{
"id": 895,
"userId": 218,
"name": "Beef Tacos",
"kind": "dinner",
"calories": 404,
"proteinGrams": 13.5,
"carbsGrams": 32.1,
"fatGrams": 24.6,
"eatenAt": "2026-05-06T09:43:16.265Z",
"createdAt": "2026-05-06T09:52:06.348Z"
}