Tofu Curry
- userId
-
Conrad Connelly @conrad.connelly22
- name
- Tofu Curry
- kind
- dinner
- calories
- 409
- proteinGrams
- 14.9
- carbsGrams
- 55.1
- fatGrams
- 14.3
- eatenAt
- createdAt
Overview
meals / #131
Tofu Curry
#131
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/131" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/131" ); 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/131"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/131"
)
meal = res.json() Response
{
"id": 131,
"userId": 30,
"name": "Tofu Curry",
"kind": "dinner",
"calories": 409,
"proteinGrams": 14.9,
"carbsGrams": 55.1,
"fatGrams": 14.3,
"eatenAt": "2025-06-04T02:14:38.199Z",
"createdAt": "2025-06-04T02:40:33.271Z"
}