zeba_academy_api_client 1.0.0
zeba_academy_api_client: ^1.0.0 copied to clipboard
Enterprise REST and GraphQL API client with interceptors, caching, retry logic, file upload/download, WebSocket support and more.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project follows Semantic Versioning.
1.0.0 #
Initial stable release of zeba_academy_api_client.
โจ Features #
- REST API client for Flutter and Dart applications
- GraphQL request support
- Interceptor system similar to Dio
- Authentication interceptor support
- Automatic retry logic for failed requests
- Token refresh handling
- Centralized API error handling
- Request and response logging
- Configurable request timeout
- In-memory request caching
- Pagination helpers for paginated APIs
- File upload support
- File download support
- API mocking for development and testing
- Offline-ready architecture
- Production-ready modular networking structure
๐งช Example #
-
Added Flutter example demonstrating:
- API requests
- Loading state
- Error handling
- Response rendering
๐ Documentation #
- Added comprehensive README documentation
- Added usage examples
- Added screenshot support for pub.dev
๐ง Project Setup #
-
Dart SDK constraint
>=3.2.0 <4.0.0 -
Added dependencies:
httpweb_socket_channelpath
Future Improvements #
Planned features for upcoming releases:
- Persistent disk caching
- Request queueing for offline mode
- Advanced GraphQL client utilities
- Automatic token refresh workflow
- Request cancellation support
- Performance monitoring tools
