budgets / #219
- userId
-
Loren Schmidt @loren_schmidt
- name
- Groceries
- categoryId
- —
- amount
- 3188.29
- period
- monthly
- spent
- 1051.58
- currency
- CAD
- startsAt
- 2024-10-23
- endsAt
- 2024-11-22
- createdAt
Component variants
Medium
Groceries
#219
Small
budgets/219 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/219" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/219"
);
const budget = await res.json();import type { Budget } from "https://example-data.com/types/budgets.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/budgets/219"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/219"
)
budget = res.json() {
"id": 219,
"userId": 222,
"name": "Groceries",
"categoryId": null,
"amount": 3188.29,
"period": "monthly",
"spent": 1051.58,
"currency": "CAD",
"startsAt": "2024-10-23",
"endsAt": "2024-11-22",
"createdAt": "2025-01-15T08:33:02.831Z"
}