Transportation
- userId
-
Emilia Cummerata @emilia_cummerata
- name
- Transportation
- categoryId
- —
- amount
- 1344.21
- period
- monthly
- spent
- 550.25
- currency
- AUD
- startsAt
- 2024-12-26
- endsAt
- —
- createdAt
Overview
budgets / #238
Transportation
#238
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/238" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/238" ); 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/238"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/238"
)
budget = res.json() Response
{
"id": 238,
"userId": 238,
"name": "Transportation",
"categoryId": null,
"amount": 1344.21,
"period": "monthly",
"spent": 550.25,
"currency": "AUD",
"startsAt": "2024-12-26",
"endsAt": null,
"createdAt": "2025-05-06T15:54:33.854Z"
}