example-data.com

budgets / #209

userId
Sonia Nolan @sonia_nolan
name
Clothing
categoryId
amount
465.86
period
monthly
spent
167.76
currency
GBP
startsAt
2024-12-06
endsAt
2025-01-05
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/209"
)
budget = res.json()
{
  "id": 209,
  "userId": 208,
  "name": "Clothing",
  "categoryId": null,
  "amount": 465.86,
  "period": "monthly",
  "spent": 167.76,
  "currency": "GBP",
  "startsAt": "2024-12-06",
  "endsAt": "2025-01-05",
  "createdAt": "2025-08-19T17:56:53.163Z"
}
Draftbit