-
Notifications
You must be signed in to change notification settings - Fork 0
Core Class: WallhavenAPI
Ray Cadle edited this page Jun 12, 2025
·
1 revision
WallhavenAPI(
api_key=None,
verify_connection=True,
base_url="https://wallhaven.cc/api/v1",
timeout=(2,5),
requestslimit_timeout=None,
proxies={}
)| Name | Type | Description |
|---|---|---|
api_key |
str |
Wallhaven API key |
verify_connection |
bool |
Enable SSL verification |
base_url |
str |
Base API endpoint |
timeout |
tuple |
Connect and read timeout |
requestslimit_timeout |
tuple |
(max_retries, delay) on HTTP 429 |
proxies |
dict |
HTTP proxies |