example-data.com

budgets / #77

userId
Jesse Kiehn @jesse_kiehn92
name
Utilities
categoryId
amount
3754.17
period
weekly
spent
4205.47
currency
AUD
startsAt
2024-05-22
endsAt
2024-05-29
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/77"
)
budget = res.json()
{
  "id": 77,
  "userId": 76,
  "name": "Utilities",
  "categoryId": null,
  "amount": 3754.17,
  "period": "weekly",
  "spent": 4205.47,
  "currency": "AUD",
  "startsAt": "2024-05-22",
  "endsAt": "2024-05-29",
  "createdAt": "2026-04-29T02:33:34.170Z"
}
Draftbit