Shrimp and Veggies
- userId
-
Myrtie Daniel @myrtie_daniel33
- name
- Shrimp and Veggies
- kind
- dinner
- calories
- 499
- proteinGrams
- 58.3
- carbsGrams
- 56.5
- fatGrams
- 4.4
- eatenAt
- createdAt
Overview
meals / #180
Shrimp and Veggies
#180
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/180" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/180" ); 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/180"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/180"
)
meal = res.json() Response
{
"id": 180,
"userId": 45,
"name": "Shrimp and Veggies",
"kind": "dinner",
"calories": 499,
"proteinGrams": 58.3,
"carbsGrams": 56.5,
"fatGrams": 4.4,
"eatenAt": "2025-08-24T06:44:41.266Z",
"createdAt": "2025-08-24T07:00:54.009Z"
}