Entertainment
- userId
-
Allan Buckridge @allan_buckridge
- name
- Entertainment
- categoryId
- Video Games
- amount
- 4443.49
- period
- weekly
- spent
- 514.98
- currency
- CAD
- startsAt
- 2024-12-12
- endsAt
- 2024-12-19
- createdAt
Overview
budgets / #112
Entertainment
#112
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/112" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/112" ); 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/112"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/112"
)
budget = res.json() Response
{
"id": 112,
"userId": 106,
"name": "Entertainment",
"categoryId": 35,
"amount": 4443.49,
"period": "weekly",
"spent": 514.98,
"currency": "CAD",
"startsAt": "2024-12-12",
"endsAt": "2024-12-19",
"createdAt": "2025-07-08T10:51:48.539Z"
}