Office Supplies
- userId
-
Theresia Collins @theresia_collins86
- name
- Office Supplies
- categoryId
- Sports & Outdoors
- amount
- 2149.39
- period
- quarterly
- spent
- 1022.24
- currency
- USD
- startsAt
- 2025-01-11
- endsAt
- 2025-04-11
- createdAt
Overview
budgets / #65
Office Supplies
#65
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/65" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/65" ); 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/65"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/65"
)
budget = res.json() Response
{
"id": 65,
"userId": 63,
"name": "Office Supplies",
"categoryId": 4,
"amount": 2149.39,
"period": "quarterly",
"spent": 1022.24,
"currency": "USD",
"startsAt": "2025-01-11",
"endsAt": "2025-04-11",
"createdAt": "2025-01-31T06:11:05.133Z"
}