Entertainment
- userId
-
Ludwig Stiedemann @ludwig_stiedemann
- name
- Entertainment
- categoryId
- Board Games
- amount
- 3169.41
- period
- quarterly
- spent
- 3427.67
- currency
- EUR
- startsAt
- 2024-11-05
- endsAt
- —
- createdAt
Overview
budgets / #134
Entertainment
#134
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/134" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/134" ); 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/134"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/134"
)
budget = res.json() Response
{
"id": 134,
"userId": 132,
"name": "Entertainment",
"categoryId": 34,
"amount": 3169.41,
"period": "quarterly",
"spent": 3427.67,
"currency": "EUR",
"startsAt": "2024-11-05",
"endsAt": null,
"createdAt": "2025-01-15T01:13:26.152Z"
}