example-data.com

budgets / #32

userId
Karlee Hudson-Turner @karlee.hudson-turner88
name
Gifts
categoryId
1
amount
4681.78
period
weekly
spent
2771.63
currency
USD
startsAt
2024-08-01
endsAt
2024-08-08
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/32"
)
budget = res.json()
{
  "id": 32,
  "userId": 36,
  "name": "Gifts",
  "categoryId": 1,
  "amount": 4681.78,
  "period": "weekly",
  "spent": 2771.63,
  "currency": "USD",
  "startsAt": "2024-08-01",
  "endsAt": "2024-08-08",
  "createdAt": "2024-09-03T22:00:01.915Z"
}
Draftbit