example-data.com

budgets / #210

userId
Otho Nikolaus @otho.nikolaus99
name
Entertainment
categoryId
amount
779.41
period
yearly
spent
291.17
currency
CAD
startsAt
2025-10-24
endsAt
2026-10-24
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/210"
)
budget = res.json()
{
  "id": 210,
  "userId": 209,
  "name": "Entertainment",
  "categoryId": null,
  "amount": 779.41,
  "period": "yearly",
  "spent": 291.17,
  "currency": "CAD",
  "startsAt": "2025-10-24",
  "endsAt": "2026-10-24",
  "createdAt": "2025-11-27T14:59:06.881Z"
}
Draftbit