Transportation
- userId
-
Emilia Cummerata @emilia_cummerata
- name
- Transportation
- categoryId
- Beverages
- amount
- 526.03
- period
- monthly
- spent
- 149.86
- currency
- GBP
- startsAt
- 2025-09-16
- endsAt
- 2025-10-16
- createdAt
Overview
budgets / #239
Transportation
#239
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/239" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/239" ); 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/239"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/239"
)
budget = res.json() Response
{
"id": 239,
"userId": 238,
"name": "Transportation",
"categoryId": 32,
"amount": 526.03,
"period": "monthly",
"spent": 149.86,
"currency": "GBP",
"startsAt": "2025-09-16",
"endsAt": "2025-10-16",
"createdAt": "2026-03-02T13:03:08.239Z"
}