Groceries
- userId
-
Velma Jerde @velma.jerde56
- name
- Groceries
- categoryId
- Kitchen & Dining
- amount
- 4456.38
- period
- weekly
- spent
- 3698.17
- currency
- GBP
- startsAt
- 2025-08-19
- endsAt
- 2025-08-26
- createdAt
Overview
budgets / #96
Groceries
#96
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/96" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/96" ); 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/96"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/96"
)
budget = res.json() Response
{
"id": 96,
"userId": 93,
"name": "Groceries",
"categoryId": 19,
"amount": 4456.38,
"period": "weekly",
"spent": 3698.17,
"currency": "GBP",
"startsAt": "2025-08-19",
"endsAt": "2025-08-26",
"createdAt": "2025-09-11T23:26:51.673Z"
}