Optional
apiThe strategy for balancing requests across multiple API keys. Defaults to 'roundRobin'
An array of your Torn API keys. At least one key is required
Optional
apiThe base URL for the Torn API. Defaults to the official v2 URL
Optional
commentA comment to include with every API request
Optional
headersCustom headers to send with every request
Optional
rateStrategy for handling the 100 requests/minute rate limit. Defaults to 'autoDelay'
Optional
verboseIf true, logs detailed information about requests, responses, and rate limiting to the console
Configuration options for the TornAPI client