Office Supplies
- userId
-
Era Mitchell @era.mitchell21
- name
- Office Supplies
- categoryId
- —
- amount
- 4447.62
- period
- quarterly
- spent
- 4013.8
- currency
- USD
- startsAt
- 2024-12-30
- endsAt
- —
- createdAt
Overview
budgets / #248
Office Supplies
#248
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/248" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/248" ); 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/248"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/248"
)
budget = res.json() Response
{
"id": 248,
"userId": 243,
"name": "Office Supplies",
"categoryId": null,
"amount": 4447.62,
"period": "quarterly",
"spent": 4013.8,
"currency": "USD",
"startsAt": "2024-12-30",
"endsAt": null,
"createdAt": "2026-03-08T12:59:38.571Z"
}