example-data.com

budgets / #187

userId
Sammy Schmidt @sammy.schmidt
name
Electronics
categoryId
7
amount
1040.12
period
monthly
spent
1000.39
currency
AUD
startsAt
2025-01-24
endsAt
2025-02-23
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/187"
)
budget = res.json()
{
  "id": 187,
  "userId": 186,
  "name": "Electronics",
  "categoryId": 7,
  "amount": 1040.12,
  "period": "monthly",
  "spent": 1000.39,
  "currency": "AUD",
  "startsAt": "2025-01-24",
  "endsAt": "2025-02-23",
  "createdAt": "2025-05-01T03:09:12.465Z"
}
Draftbit