example-data.com

budgets / #9

userId
Alanna Kilback @alanna_kilback31
name
Office Supplies
categoryId
5
amount
2553.84
period
weekly
spent
2545.22
currency
USD
startsAt
2025-04-12
endsAt
2025-04-19
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/9"
)
budget = res.json()
{
  "id": 9,
  "userId": 14,
  "name": "Office Supplies",
  "categoryId": 5,
  "amount": 2553.84,
  "period": "weekly",
  "spent": 2545.22,
  "currency": "USD",
  "startsAt": "2025-04-12",
  "endsAt": "2025-04-19",
  "createdAt": "2025-04-22T10:18:50.020Z"
}
Draftbit