Commit Graph

4 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
877ef951b2 Add .gitignore and secure environment configuration
- Added comprehensive .gitignore to prevent sensitive data commits
- Removed .env from git tracking to protect API tokens
- Created .env.example template for users to copy and configure
- Updated README with secure setup instructions using .env.example
- Prevents accidental exposure of Discogs API tokens and other secrets
2025-08-11 16:21:13 +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
28f927e973 first commit 2025-08-11 15:39:42 +07:00