Entertainment
- userId
-
Brycen Bayer @brycen_bayer60
- name
- Entertainment
- categoryId
- —
- amount
- 903.05
- period
- weekly
- spent
- 910.52
- currency
- EUR
- startsAt
- 2026-02-24
- endsAt
- 2026-03-03
- createdAt
Overview
budgets / #5
Entertainment
#5
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/5" ); 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/5"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/5"
)
budget = res.json() Response
{
"id": 5,
"userId": 6,
"name": "Entertainment",
"categoryId": null,
"amount": 903.05,
"period": "weekly",
"spent": 910.52,
"currency": "EUR",
"startsAt": "2026-02-24",
"endsAt": "2026-03-03",
"createdAt": "2026-04-17T04:58:34.076Z"
}