Apple and Peanut Butter
- userId
-
Ari Howe @ari.howe73
- name
- Apple and Peanut Butter
- kind
- snack
- calories
- 483
- proteinGrams
- 24.5
- carbsGrams
- 39.6
- fatGrams
- 25.2
- eatenAt
- createdAt
Overview
meals / #690
Apple and Peanut Butter
#690
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/690" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/690" ); 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/690"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/690"
)
meal = res.json() Response
{
"id": 690,
"userId": 167,
"name": "Apple and Peanut Butter",
"kind": "snack",
"calories": 483,
"proteinGrams": 24.5,
"carbsGrams": 39.6,
"fatGrams": 25.2,
"eatenAt": "2026-01-17T17:52:37.178Z",
"createdAt": "2026-01-17T18:14:37.255Z"
}