api_keys.json
file in the project root:POST /prices
Content-Type: application/json
X-API-Key: your-api-key
CACHE_FILE
: Set the path for the cache file (default: 'crypto_cache.json')API_KEYS_FILE
: Set the path for the API keys file (default: 'api_keys.json')max_age
in the is_cache_valid
function (default: 5 minutes)should_retry
function (default: 1 hour)sleep
duration in the update_cache
function (default: 5 minutes)