example-data.com

budgets / #28

userId
Cassidy Christiansen @cassidy_christiansen38
name
Home Improvement
categoryId
6
amount
3622.42
period
monthly
spent
2460.02
currency
AUD
startsAt
2024-10-31
endsAt
2024-11-30
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/28"
)
budget = res.json()
{
  "id": 28,
  "userId": 33,
  "name": "Home Improvement",
  "categoryId": 6,
  "amount": 3622.42,
  "period": "monthly",
  "spent": 2460.02,
  "currency": "AUD",
  "startsAt": "2024-10-31",
  "endsAt": "2024-11-30",
  "createdAt": "2026-01-27T02:17:13.561Z"
}
Draftbit