example-data.com

budgets / #65

userId
Theresia Collins @theresia_collins86
name
Office Supplies
categoryId
4
amount
2149.39
period
quarterly
spent
1022.24
currency
USD
startsAt
2025-01-11
endsAt
2025-04-11
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/65"
)
budget = res.json()
{
  "id": 65,
  "userId": 63,
  "name": "Office Supplies",
  "categoryId": 4,
  "amount": 2149.39,
  "period": "quarterly",
  "spent": 1022.24,
  "currency": "USD",
  "startsAt": "2025-01-11",
  "endsAt": "2025-04-11",
  "createdAt": "2025-01-31T06:11:05.133Z"
}
Draftbit