Entertainment
- userId
-
Fritz Skiles @fritz_skiles
- name
- Entertainment
- categoryId
- Beverages
- amount
- 3562.41
- period
- quarterly
- spent
- 686.14
- currency
- GBP
- startsAt
- 2025-03-08
- endsAt
- 2025-06-06
- createdAt
Overview
budgets / #145
Entertainment
#145
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/145" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/145" ); 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/145"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/145"
)
budget = res.json() Response
{
"id": 145,
"userId": 144,
"name": "Entertainment",
"categoryId": 32,
"amount": 3562.41,
"period": "quarterly",
"spent": 686.14,
"currency": "GBP",
"startsAt": "2025-03-08",
"endsAt": "2025-06-06",
"createdAt": "2025-09-29T21:19:48.212Z"
}