example-data.com

budgets / #39

userId
Trace Witting-Stamm @trace_witting-stamm17
name
Education
categoryId
22
amount
1069.01
period
monthly
spent
668.18
currency
CAD
startsAt
2024-08-20
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/39"
)
budget = res.json()
{
  "id": 39,
  "userId": 42,
  "name": "Education",
  "categoryId": 22,
  "amount": 1069.01,
  "period": "monthly",
  "spent": 668.18,
  "currency": "CAD",
  "startsAt": "2024-08-20",
  "endsAt": null,
  "createdAt": "2025-12-11T04:17:29.462Z"
}
Draftbit