example-data.com

budgets / #234

userId
Jameson Considine @jameson.considine1
name
Education
categoryId
33
amount
784.79
period
weekly
spent
748.39
currency
EUR
startsAt
2025-02-13
endsAt
2025-02-20
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/234"
)
budget = res.json()
{
  "id": 234,
  "userId": 236,
  "name": "Education",
  "categoryId": 33,
  "amount": 784.79,
  "period": "weekly",
  "spent": 748.39,
  "currency": "EUR",
  "startsAt": "2025-02-13",
  "endsAt": "2025-02-20",
  "createdAt": "2026-02-13T05:39:48.212Z"
}
Draftbit