Fitness
- userId
-
Lamar Wilkinson @lamar_wilkinson43
- name
- Fitness
- categoryId
- Camping & Hiking
- amount
- 217.27
- period
- weekly
- spent
- 211.61
- currency
- CAD
- startsAt
- 2025-07-04
- endsAt
- —
- createdAt
Overview
budgets / #41
Fitness
#41
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/41" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/41" ); 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/41"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/41"
)
budget = res.json() Response
{
"id": 41,
"userId": 43,
"name": "Fitness",
"categoryId": 22,
"amount": 217.27,
"period": "weekly",
"spent": 211.61,
"currency": "CAD",
"startsAt": "2025-07-04",
"endsAt": null,
"createdAt": "2025-12-14T05:23:40.064Z"
}