example-data.com

budgets / #135

userId
Ludwig Stiedemann @ludwig_stiedemann
name
Savings Goal
categoryId
32
amount
1394.21
period
monthly
spent
571.19
currency
GBP
startsAt
2025-05-23
endsAt
2025-06-22
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/135"
)
budget = res.json()
{
  "id": 135,
  "userId": 132,
  "name": "Savings Goal",
  "categoryId": 32,
  "amount": 1394.21,
  "period": "monthly",
  "spent": 571.19,
  "currency": "GBP",
  "startsAt": "2025-05-23",
  "endsAt": "2025-06-22",
  "createdAt": "2025-06-01T08:52:45.005Z"
}
Draftbit