Fitness
- userId
-
Gudrun Brakus @gudrun_brakus
- name
- Fitness
- categoryId
- Car Parts
- amount
- 3489.04
- period
- yearly
- spent
- 4091.46
- currency
- AUD
- startsAt
- 2025-12-01
- endsAt
- —
- createdAt
Overview
budgets / #228
Fitness
#228
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/228" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/228" ); 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/228"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/228"
)
budget = res.json() Response
{
"id": 228,
"userId": 230,
"name": "Fitness",
"categoryId": 36,
"amount": 3489.04,
"period": "yearly",
"spent": 4091.46,
"currency": "AUD",
"startsAt": "2025-12-01",
"endsAt": null,
"createdAt": "2025-12-17T11:20:01.901Z"
}