Sushi Roll
- userId
-
Ethyl Auer @ethyl_auer89
- name
- Sushi Roll
- kind
- lunch
- calories
- 406
- proteinGrams
- 19.8
- carbsGrams
- 57.1
- fatGrams
- 10.9
- eatenAt
- createdAt
Overview
meals / #397
Sushi Roll
#397
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/397" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/397" ); 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/397"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/397"
)
meal = res.json() Response
{
"id": 397,
"userId": 95,
"name": "Sushi Roll",
"kind": "lunch",
"calories": 406,
"proteinGrams": 19.8,
"carbsGrams": 57.1,
"fatGrams": 10.9,
"eatenAt": "2026-02-13T13:49:48.374Z",
"createdAt": "2026-02-13T14:05:47.782Z"
}