example-data.com

budgets / #226

userId
Wallace Batz @wallace_batz
name
Personal Care
categoryId
amount
3690.42
period
yearly
spent
3673.89
currency
AUD
startsAt
2025-04-16
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/226"
)
budget = res.json()
{
  "id": 226,
  "userId": 229,
  "name": "Personal Care",
  "categoryId": null,
  "amount": 3690.42,
  "period": "yearly",
  "spent": 3673.89,
  "currency": "AUD",
  "startsAt": "2025-04-16",
  "endsAt": null,
  "createdAt": "2025-12-06T15:21:12.310Z"
}
Draftbit