example-data.com

budgets / #35

userId
Gwendolyn Wyman @gwendolyn.wyman87
name
Utilities
categoryId
28
amount
1953
period
quarterly
spent
2134.11
currency
GBP
startsAt
2024-08-31
endsAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/budgets/35" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/budgets/35"
);
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/35"
);
const budget = (await res.json()) as Budget;
import requests

res = requests.get(
    "https://example-data.com/api/v1/budgets/35"
)
budget = res.json()
{
  "id": 35,
  "userId": 40,
  "name": "Utilities",
  "categoryId": 28,
  "amount": 1953,
  "period": "quarterly",
  "spent": 2134.11,
  "currency": "GBP",
  "startsAt": "2024-08-31",
  "endsAt": null,
  "createdAt": "2025-11-25T06:15:21.990Z"
}
Draftbit