example-data.com

budgets / #14

userId
Alvina Koch @alvina.koch8
name
Office Supplies
categoryId
23
amount
4079.53
period
weekly
spent
4485.52
currency
USD
startsAt
2024-12-12
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/14"
)
budget = res.json()
{
  "id": 14,
  "userId": 20,
  "name": "Office Supplies",
  "categoryId": 23,
  "amount": 4079.53,
  "period": "weekly",
  "spent": 4485.52,
  "currency": "USD",
  "startsAt": "2024-12-12",
  "endsAt": null,
  "createdAt": "2025-06-21T05:41:40.792Z"
}
Draftbit