Utilities
- userId
-
Daren Lockman @daren_lockman67
- name
- Utilities
- categoryId
- Camping & Hiking
- amount
- 2697.25
- period
- monthly
- spent
- 2735.05
- currency
- GBP
- startsAt
- 2025-03-23
- endsAt
- —
- createdAt
Overview
budgets / #117
Utilities
#117
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/117" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/117" ); 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/117"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/117"
)
budget = res.json() Response
{
"id": 117,
"userId": 116,
"name": "Utilities",
"categoryId": 22,
"amount": 2697.25,
"period": "monthly",
"spent": 2735.05,
"currency": "GBP",
"startsAt": "2025-03-23",
"endsAt": null,
"createdAt": "2025-04-29T20:09:00.045Z"
}