feat(client,history,cli): add auth, library fetch, and download history (closes #3)

Add the data layer that feeds into downloads: OAuth2 password grant
authentication via httpx, paginated library fetching across all pages,
download history JSON read/write with corrupt-recovery safety, and a
CLI skeleton that wires config → auth → fetch → filter → print.

16 new tests (6 client + 7 history + 3 CLI), 41 total passing.
All 11 acceptance criteria met.
This commit is contained in:
AlexKucera committed 2026-06-03 11:44:16 +02:00
1 parent 6c049d1301
commit 515f5c01f6
8 files changed
+699

No files matched your search

+3
View File
@@ -10,3 +10,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial project scaffolding: pyproject.toml, package structure, test suite
- Config module with YAML loading, secrets deep-merge, validation, and defaults
- OAuth2 client with password grant auth and paginated library fetch
- Download history tracking with corrupt JSON recovery
- CLI skeleton wiring config → auth → library → filter → print