Education
- userId
-
Dwight Dicki-Medhurst @dwight.dicki-medhurst69
- name
- Education
- categoryId
- Beverages
- amount
- 2152.99
- period
- monthly
- spent
- 2011.82
- currency
- EUR
- startsAt
- 2025-03-12
- endsAt
- —
- createdAt
Overview
budgets / #31
Education
#31
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/31" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/31" ); 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/31"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/31"
)
budget = res.json() Response
{
"id": 31,
"userId": 35,
"name": "Education",
"categoryId": 32,
"amount": 2152.99,
"period": "monthly",
"spent": 2011.82,
"currency": "EUR",
"startsAt": "2025-03-12",
"endsAt": null,
"createdAt": "2025-11-20T02:21:29.075Z"
}