Open EmNebergall opened 1 month ago
@app.route('/api/transactions') def get_transactions(): start_date = request.args.get('start_date') end_date = request.args.get('end_date') category = request.args.get('category')
return filter_transactions(json_data, start_date, end_date, category)
@app.route('/api/monthly-summary') def get_monthly_summary(): return calculate_monthly_summary(json_data)
/api/balances /api/transactions /api/monthly-summary /api/categories