Commit Graph

4 Commits

Author SHA1 Message Date
kdusek
ed5d126d77 feat: Add JSON output support and auto-download functionality
- Add --json CLI flag for structured JSON output across all commands
- Implement JSON formatting functions for different data types:
  * Single rate lookups with fallback information
  * Unified tax rates (single year and multi-year)
  * Last available rates
  * Error responses with codes and details
- Add auto-download functionality for missing monthly data in tax calculations
- Modify calculate_tax_yearly_average to automatically fetch missing months
- Add rate limiting (1s delay) between API calls to be respectful
- Update CLI argument parsing and output logic for JSON/text modes
- Maintain full backward compatibility - existing commands work unchanged
- Enhance documentation with JSON usage examples and schema
- Update help text to include new --json option

Features:
- JSON output for programmatic consumption
- Automatic data fetching for incomplete years
- Structured error handling
- Comprehensive documentation updates

Breaking changes: None (fully backward compatible)
2026-01-12 22:48:59 +01:00
kaaduu
06685c855a first commit 2025-08-19 15:02:55 +02:00
c55d3d6cee Delete README.md 2025-08-19 15:00:41 +02:00
kaaduu
5f4554854b first commit 2025-08-19 14:58:31 +02:00