example-data.com

budgets / #231

userId
Malvina Ortiz @malvina_ortiz
name
Personal Care
categoryId
24
amount
1282.21
period
weekly
spent
788.97
currency
EUR
startsAt
2024-12-25
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/231"
)
budget = res.json()
{
  "id": 231,
  "userId": 234,
  "name": "Personal Care",
  "categoryId": 24,
  "amount": 1282.21,
  "period": "weekly",
  "spent": 788.97,
  "currency": "EUR",
  "startsAt": "2024-12-25",
  "endsAt": null,
  "createdAt": "2025-07-31T20:32:32.222Z"
}
Draftbit