Clothing
- userId
-
Cindy Barrows @cindy_barrows20
- name
- Clothing
- categoryId
- —
- amount
- 299.46
- period
- yearly
- spent
- 140.71
- currency
- CAD
- startsAt
- 2025-10-09
- endsAt
- —
- createdAt
Overview
budgets / #162
Clothing
#162
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/162" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/162" ); 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/162"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/162"
)
budget = res.json() Response
{
"id": 162,
"userId": 165,
"name": "Clothing",
"categoryId": null,
"amount": 299.46,
"period": "yearly",
"spent": 140.71,
"currency": "CAD",
"startsAt": "2025-10-09",
"endsAt": null,
"createdAt": "2025-11-02T03:36:04.450Z"
}