Releases: stemirkhan/bitrix24-api-client
Releases · stemirkhan/bitrix24-api-client
v0.1.2
🚀 Changes
Interfaces have been moved to a separate submodule interfaces/:
- RetryStrategyI
- ResponseFormatterI
- ResponseValidatorI
New response formatting system:
- Added the interface
ResponseFormatterI - Default implementation:
DefaultResponseFormatter
New response validation system:
- Added the interface
ResponseValidatorI - Default implementation:
DefaultResponseValidator
✅ Improvements
- Extensibility via DI: now you can pass your own validator and formatter implementations
- Cleaner code, more isolated modules
- Support for scalable client architecture
📁 Project Structure Changes
bitrix24_client/
├── interfaces/
│ ├── retry_strategy.py
│ ├── response_formatter.py
│ └── response_validator.py
├── strategies/
│ └── ...
├── formatters/
│ └── default_response_formatter.py
├── validators/
│ └── default_response_validator.py
v0.1.1
Bitrix24 API Client — это Python-библиотека для работы с REST API Bitrix24.
🚀 Возможности
- Синхронный клиент (
requests) - Асинхронный клиент (
httpx) - Поддержка стратегий повторов:
fixed,linear,exponential,logarithmic,exponential_jitter - Поддержка постраничной загрузки (
fetch_all=True) - Обработка ошибок API и HTTP
- Менеджер контекста и сессий