Commit Graph

2 Commits

Author SHA1 Message Date
93284a9088 Add comprehensive API documentation with media type enums
- Added MediaType enum with book, vinyl, cd, cassette options
- Created Pydantic models (SearchRequest, MediaItem) for API documentation
- Added /api/search endpoint with proper type annotations and response models
- Enhanced FastAPI docs with detailed descriptions and parameter explanations
- Media types now clearly visible in /docs and /redoc interfaces
- Improved API usability with structured request/response models
2025-08-11 16:46:41 +07:00
d9f184d084 Fix Discogs API integration with proper authentication
- Updated to use python3-discogs-client==2.8 library
- Added environment variable configuration for API keys
- Implemented proper error handling for missing API credentials
- Added .env file for configuration management
- Enhanced search functionality with graceful fallbacks
- Updated README with Discogs API setup instructions
2025-08-11 16:15:15 +07:00