example-data.com

budgets / #211

userId
Carroll Wisozk @carroll_wisozk
name
Entertainment
categoryId
5
amount
2109.43
period
quarterly
spent
797.83
currency
EUR
startsAt
2025-01-01
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/211"
)
budget = res.json()
{
  "id": 211,
  "userId": 210,
  "name": "Entertainment",
  "categoryId": 5,
  "amount": 2109.43,
  "period": "quarterly",
  "spent": 797.83,
  "currency": "EUR",
  "startsAt": "2025-01-01",
  "endsAt": null,
  "createdAt": "2025-08-15T10:51:10.017Z"
}
Draftbit