-
Notifications
You must be signed in to change notification settings - Fork 0
Methods
Ray Cadle edited this page Jun 12, 2025
·
1 revision
Search for wallpapers using filters.
api.search(q="nature", categories=[Category.general], purities=[Purity.sfw])Parameters:
| Parameter | Type | Description |
|---|---|---|
q |
str |
Query term |
categories |
list |
List of Category enums |
purities |
list |
List of Purity enums |
sorting |
Sorting |
Sorting method |
order |
Order |
Sorting direction |
top_range |
TopRange |
Used with toplist
|
atleast |
tuple |
Minimum resolution (width, height) |
resolutions |
list |
Exact resolutions list |
ratios |
list |
Aspect ratio list |
colors |
Color |
Dominant color filter |
page |
int |
Page number |
seed |
str |
Random seed |
Returns: JSON with wallpaper search results.
Fetch wallpaper metadata.
Returns: JSON data of wallpaper info.
Check if a wallpaper ID exists.
Returns: True or False.
Downloads the wallpaper to the specified path.
Returns: Absolute file path if file_path is set, otherwise bytes.
Get metadata for a specific tag.
Returns: JSON with tag details.
Get user settings (requires API key).
Returns: JSON or None.
Get collections of a specific user.
Returns: JSON with collection info.
Get wallpapers from a specific collection.
Get collections of the authenticated user (requires API key).