Home Improvement
- userId
-
Era Mitchell @era.mitchell21
- name
- Home Improvement
- categoryId
- Men's Clothing
- amount
- 3263.62
- period
- weekly
- spent
- 1517.35
- currency
- GBP
- startsAt
- 2024-12-08
- endsAt
- —
- createdAt
Overview
budgets / #247
Home Improvement
#247
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/247" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/247" ); 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/247"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/247"
)
budget = res.json() Response
{
"id": 247,
"userId": 243,
"name": "Home Improvement",
"categoryId": 15,
"amount": 3263.62,
"period": "weekly",
"spent": 1517.35,
"currency": "GBP",
"startsAt": "2024-12-08",
"endsAt": null,
"createdAt": "2025-12-11T03:08:22.851Z"
}