Education
- userId
-
April Kihn @april.kihn55
- name
- Education
- categoryId
- Toys & Games
- amount
- 2907.49
- period
- weekly
- spent
- 1979.03
- currency
- CAD
- startsAt
- 2024-06-14
- endsAt
- —
- createdAt
Overview
budgets / #137
Education
#137
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/137" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/137" ); 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/137"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/137"
)
budget = res.json() Response
{
"id": 137,
"userId": 137,
"name": "Education",
"categoryId": 8,
"amount": 2907.49,
"period": "weekly",
"spent": 1979.03,
"currency": "CAD",
"startsAt": "2024-06-14",
"endsAt": null,
"createdAt": "2024-11-19T13:03:50.457Z"
}