Reference¶
Complete API reference and technical documentation for fastreq.
Core API¶
Auto-generated API documentation using mkdocstrings:
- ParallelRequests Class - Main client class
- fastreq() - Synchronous convenience function
- fastreq_async() - Async convenience function
- ReturnType - Response parsing options
- GlobalConfig - Global configuration
Key Components¶
- Return Types - JSON, TEXT, CONTENT, RESPONSE, STREAM
- Configuration - Client parameters and environment variables
- Exceptions - Exception hierarchy and error handling
- Backend Interface - Backend abstraction and dataclasses
Features¶
- Rate Limiting - Token bucket algorithm
- Retry Strategy - Exponential backoff with jitter
- Proxy Rotation - Proxy management and validation
- Header Management - User-agent rotation
- Validation - Input validation functions