Entertainment
- userId
-
Jo Haag-Mayer @jo_haag-mayer
- name
- Entertainment
- categoryId
- —
- amount
- 3000.56
- period
- monthly
- spent
- 2427.88
- currency
- AUD
- startsAt
- 2026-02-21
- endsAt
- —
- createdAt
Overview
budgets / #55
Entertainment
#55
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/55" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/55" ); const budget = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/budgets.d.ts https://example-data.com/types/budgets.d.ts
import type { Budget } from "./types/budgets";
const res = await fetch(
"https://example-data.com/api/v1/budgets/55"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/55"
)
budget = res.json() Response
{
"id": 55,
"userId": 54,
"name": "Entertainment",
"categoryId": null,
"amount": 3000.56,
"period": "monthly",
"spent": 2427.88,
"currency": "AUD",
"startsAt": "2026-02-21",
"endsAt": null,
"createdAt": "2026-03-13T22:24:23.760Z"
}