example-data.com

budgets / #143

userId
Clyde Bernier-Gleason @clyde_bernier-gleason6
name
Fitness
categoryId
11
amount
582.78
period
quarterly
spent
472.67
currency
GBP
startsAt
2024-11-05
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/143"
)
budget = res.json()
{
  "id": 143,
  "userId": 143,
  "name": "Fitness",
  "categoryId": 11,
  "amount": 582.78,
  "period": "quarterly",
  "spent": 472.67,
  "currency": "GBP",
  "startsAt": "2024-11-05",
  "endsAt": null,
  "createdAt": "2025-05-01T23:45:54.264Z"
}
Draftbit