example-data.com

budgets / #205

userId
Jaylon Conroy @jaylon_conroy22
name
Subscriptions
categoryId
amount
651.87
period
monthly
spent
363.18
currency
EUR
startsAt
2024-08-02
endsAt
2024-09-01
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/205"
)
budget = res.json()
{
  "id": 205,
  "userId": 205,
  "name": "Subscriptions",
  "categoryId": null,
  "amount": 651.87,
  "period": "monthly",
  "spent": 363.18,
  "currency": "EUR",
  "startsAt": "2024-08-02",
  "endsAt": "2024-09-01",
  "createdAt": "2025-06-07T16:24:13.809Z"
}
Draftbit