example-data.com

budgets / #180

userId
Lamont Schroeder @lamont.schroeder89
name
Healthcare
categoryId
31
amount
657.26
period
yearly
spent
568.73
currency
EUR
startsAt
2025-01-18
endsAt
2026-01-18
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/180"
)
budget = res.json()
{
  "id": 180,
  "userId": 180,
  "name": "Healthcare",
  "categoryId": 31,
  "amount": 657.26,
  "period": "yearly",
  "spent": 568.73,
  "currency": "EUR",
  "startsAt": "2025-01-18",
  "endsAt": "2026-01-18",
  "createdAt": "2025-07-27T11:48:19.474Z"
}
Draftbit