Groceries
- userId
-
Americo Hoppe @americo_hoppe57
- name
- Groceries
- categoryId
- —
- amount
- 2630.3
- period
- yearly
- spent
- 1357.04
- currency
- CAD
- startsAt
- 2026-03-17
- endsAt
- —
- createdAt
Overview
budgets / #177
Groceries
#177
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/177" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/177" ); 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/177"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/177"
)
budget = res.json() Response
{
"id": 177,
"userId": 177,
"name": "Groceries",
"categoryId": null,
"amount": 2630.3,
"period": "yearly",
"spent": 1357.04,
"currency": "CAD",
"startsAt": "2026-03-17",
"endsAt": null,
"createdAt": "2026-03-27T18:24:02.717Z"
}