Electronics
- userId
-
Rosemary Krajcik @rosemary_krajcik
- name
- Electronics
- categoryId
- Fresh Produce
- amount
- 4818.76
- period
- yearly
- spent
- 3385.63
- currency
- AUD
- startsAt
- 2024-09-26
- endsAt
- 2025-09-26
- createdAt
Overview
budgets / #189
Electronics
#189
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/189" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/189" ); 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/189"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/189"
)
budget = res.json() Response
{
"id": 189,
"userId": 191,
"name": "Electronics",
"categoryId": 30,
"amount": 4818.76,
"period": "yearly",
"spent": 3385.63,
"currency": "AUD",
"startsAt": "2024-09-26",
"endsAt": "2025-09-26",
"createdAt": "2025-08-12T07:04:16.019Z"
}