Gifts
- userId
-
Ericka DuBuque @ericka.dubuque
- name
- Gifts
- categoryId
- —
- amount
- 1244.53
- period
- quarterly
- spent
- 929.97
- currency
- AUD
- startsAt
- 2025-10-01
- endsAt
- —
- createdAt
Overview
budgets / #17
Gifts
#17
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/17" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/17" ); const budget = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/budgets.d.ts https://example-data.com/types/budgets.d.ts
import type { Budget } from "./types/budgets";
const res = await fetch(
"https://example-data.com/api/v1/budgets/17"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/17"
)
budget = res.json() Response
{
"id": 17,
"userId": 23,
"name": "Gifts",
"categoryId": null,
"amount": 1244.53,
"period": "quarterly",
"spent": 929.97,
"currency": "AUD",
"startsAt": "2025-10-01",
"endsAt": null,
"createdAt": "2026-01-26T05:02:02.681Z"
}