Expand description
Data types for API responses and requests
Structs§
- ApiError
Response - Error response from the API
- Conversion
Response - Response for a specific currency pair conversion
- Exchange
Rate Response - Response from the exchange rate API for latest rates
- Historical
Conversion Request - Historical conversion request
- Historical
Rate Response - Response for historical exchange rates
- Supported
Currencies Response - Supported currencies response
Constants§
- COMMON_
CURRENCIES - Common currency codes for validation and suggestions
Functions§
- is_
common_ currency - Check if a currency code is commonly used
- is_
valid_ currency_ code - Validation for currency codes (ISO 4217 format)
- is_
valid_ date_ format - Validate date format (YYYY-MM-DD)