example-data.com

budgets / #7

userId
Anne Hamill @anne_hamill75
name
Electronics
categoryId
32
amount
3050
period
quarterly
spent
1594.12
currency
USD
startsAt
2024-12-12
endsAt
2025-03-12
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/7"
)
budget = res.json()
{
  "id": 7,
  "userId": 9,
  "name": "Electronics",
  "categoryId": 32,
  "amount": 3050,
  "period": "quarterly",
  "spent": 1594.12,
  "currency": "USD",
  "startsAt": "2024-12-12",
  "endsAt": "2025-03-12",
  "createdAt": "2025-11-16T08:03:11.488Z"
}
Draftbit