example-data.com

budgets / #56

userId
Simeon Robel @simeon_robel12
name
Personal Care
categoryId
amount
4775.53
period
quarterly
spent
5688.73
currency
EUR
startsAt
2024-09-23
endsAt
2024-12-22
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/56"
)
budget = res.json()
{
  "id": 56,
  "userId": 55,
  "name": "Personal Care",
  "categoryId": null,
  "amount": 4775.53,
  "period": "quarterly",
  "spent": 5688.73,
  "currency": "EUR",
  "startsAt": "2024-09-23",
  "endsAt": "2024-12-22",
  "createdAt": "2025-04-22T12:50:23.645Z"
}
Draftbit