example-data.com

budgets / #202

userId
Kennith Hahn @kennith.hahn
name
Electronics
categoryId
3
amount
2488.62
period
quarterly
spent
2912.97
currency
USD
startsAt
2024-09-13
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/202"
)
budget = res.json()
{
  "id": 202,
  "userId": 201,
  "name": "Electronics",
  "categoryId": 3,
  "amount": 2488.62,
  "period": "quarterly",
  "spent": 2912.97,
  "currency": "USD",
  "startsAt": "2024-09-13",
  "endsAt": null,
  "createdAt": "2025-11-17T00:26:20.111Z"
}
Draftbit