Office Supplies
- userId
-
Alvina Koch @alvina.koch8
- name
- Office Supplies
- categoryId
- Team Sports
- amount
- 4079.53
- period
- weekly
- spent
- 4485.52
- currency
- USD
- startsAt
- 2024-12-12
- endsAt
- —
- createdAt
Overview
budgets / #14
Office Supplies
#14
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/14" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/14" ); 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/14"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/14"
)
budget = res.json() Response
{
"id": 14,
"userId": 20,
"name": "Office Supplies",
"categoryId": 23,
"amount": 4079.53,
"period": "weekly",
"spent": 4485.52,
"currency": "USD",
"startsAt": "2024-12-12",
"endsAt": null,
"createdAt": "2025-06-21T05:41:40.792Z"
}