String Cheese
- userId
-
Della Labadie @della_labadie
- name
- String Cheese
- kind
- snack
- calories
- 536
- proteinGrams
- 57.5
- carbsGrams
- 68.5
- fatGrams
- 3.6
- eatenAt
- createdAt
Overview
meals / #188
String Cheese
#188
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/188" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/188" ); 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/188"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/188"
)
meal = res.json() Response
{
"id": 188,
"userId": 46,
"name": "String Cheese",
"kind": "snack",
"calories": 536,
"proteinGrams": 57.5,
"carbsGrams": 68.5,
"fatGrams": 3.6,
"eatenAt": "2026-02-14T23:14:49.494Z",
"createdAt": "2026-02-14T23:35:03.001Z"
}