example-data.com

budgets / #113

userId
Allan Buckridge @allan_buckridge
name
Fitness
categoryId
19
amount
4067.53
period
weekly
spent
1359.71
currency
CAD
startsAt
2024-07-18
endsAt
2024-07-25
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/113"
)
budget = res.json()
{
  "id": 113,
  "userId": 106,
  "name": "Fitness",
  "categoryId": 19,
  "amount": 4067.53,
  "period": "weekly",
  "spent": 1359.71,
  "currency": "CAD",
  "startsAt": "2024-07-18",
  "endsAt": "2024-07-25",
  "createdAt": "2025-12-02T19:39:58.828Z"
}
Draftbit