example-data.com

budgets / #112

userId
Allan Buckridge @allan_buckridge
name
Entertainment
categoryId
35
amount
4443.49
period
weekly
spent
514.98
currency
CAD
startsAt
2024-12-12
endsAt
2024-12-19
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/112"
)
budget = res.json()
{
  "id": 112,
  "userId": 106,
  "name": "Entertainment",
  "categoryId": 35,
  "amount": 4443.49,
  "period": "weekly",
  "spent": 514.98,
  "currency": "CAD",
  "startsAt": "2024-12-12",
  "endsAt": "2024-12-19",
  "createdAt": "2025-07-08T10:51:48.539Z"
}
Draftbit