example-data.com

budgets / #220

userId
Lilly Rosenbaum @lilly.rosenbaum
name
Travel
categoryId
24
amount
1580.59
period
weekly
spent
934.39
currency
EUR
startsAt
2025-01-27
endsAt
2025-02-03
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/220"
)
budget = res.json()
{
  "id": 220,
  "userId": 223,
  "name": "Travel",
  "categoryId": 24,
  "amount": 1580.59,
  "period": "weekly",
  "spent": 934.39,
  "currency": "EUR",
  "startsAt": "2025-01-27",
  "endsAt": "2025-02-03",
  "createdAt": "2025-08-25T19:39:56.236Z"
}
Draftbit