example-data.com

budgets / #10

userId
Zachariah Herzog @zachariah_herzog42
name
Groceries
categoryId
amount
1049.39
period
quarterly
spent
670.25
currency
AUD
startsAt
2024-11-09
endsAt
2025-02-07
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/10"
)
budget = res.json()
{
  "id": 10,
  "userId": 15,
  "name": "Groceries",
  "categoryId": null,
  "amount": 1049.39,
  "period": "quarterly",
  "spent": 670.25,
  "currency": "AUD",
  "startsAt": "2024-11-09",
  "endsAt": "2025-02-07",
  "createdAt": "2025-09-13T19:21:46.207Z"
}
Draftbit