What's Changed
🐛 Bug Fixes
- Fixed document API 404 errors by using the correct base URL (
document-api.company-information.service.gov.uk)
- Document endpoints now properly handle both plain document IDs and full URLs from filing history responses
✨ Features
get_document_metadata - Retrieve document metadata from Companies House filings
get_document_content - Download PDF content of company documents
🔧 Technical Improvements
- Added
extractDocumentId method to handle multiple input formats
- Improved error handling for document API requests
- Updated tests to match new implementation
Installation
Full Changelog
v3.0.0...v3.1.0