example-data.com

budgets / #149

userId
Sheridan Turcotte @sheridan.turcotte
name
Dining Out
categoryId
amount
1940.48
period
quarterly
spent
107.7
currency
AUD
startsAt
2025-06-28
endsAt
2025-09-26
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/149"
)
budget = res.json()
{
  "id": 149,
  "userId": 153,
  "name": "Dining Out",
  "categoryId": null,
  "amount": 1940.48,
  "period": "quarterly",
  "spent": 107.7,
  "currency": "AUD",
  "startsAt": "2025-06-28",
  "endsAt": "2025-09-26",
  "createdAt": "2025-08-05T12:17:05.417Z"
}
Draftbit