example-data.com

budgets / #221

userId
Simeon Heathcote @simeon_heathcote75
name
Personal Care
categoryId
9
amount
4590.58
period
quarterly
spent
22.63
currency
USD
startsAt
2025-02-28
endsAt
2025-05-29
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/221"
)
budget = res.json()
{
  "id": 221,
  "userId": 224,
  "name": "Personal Care",
  "categoryId": 9,
  "amount": 4590.58,
  "period": "quarterly",
  "spent": 22.63,
  "currency": "USD",
  "startsAt": "2025-02-28",
  "endsAt": "2025-05-29",
  "createdAt": "2025-07-21T03:37:21.419Z"
}
Draftbit