Fitness
- userId
-
Chyna Kozey @chyna_kozey80
- name
- Fitness
- categoryId
- Men's Clothing
- amount
- 1170.78
- period
- yearly
- spent
- 669.56
- currency
- CAD
- startsAt
- 2024-07-17
- endsAt
- 2025-07-17
- createdAt
Overview
budgets / #139
Fitness
#139
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/139" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/139" ); 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/139"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/139"
)
budget = res.json() Response
{
"id": 139,
"userId": 140,
"name": "Fitness",
"categoryId": 15,
"amount": 1170.78,
"period": "yearly",
"spent": 669.56,
"currency": "CAD",
"startsAt": "2024-07-17",
"endsAt": "2025-07-17",
"createdAt": "2025-07-03T05:28:47.220Z"
}